implementing Derivative part of the PID controller