pid algorithm - setting error weightage