implement a python pid controller - we'll probably need it