Improving generalization in Neural Soft Sensor design