Added function to reset PID calculations