Implemented correct z-transform for the pid controller