Refining PID Controllers using Neural Networks