Control of properties in injection molding by neural networks