Inferential Estimation and Optimal Control of a Batch Polymerisation Reactor Using Stacked Neural Networks