Pid tuning

Implementation of PID activity