On the use of Artificial Neural Networks to monitor a pharmaceutical freeze-drying process