Starting some cleanup of PID modules, as part of porting simple BEMF velocity control to IP2.5
Ongoing updates to ready pid module for ip2.5 bemf motor control
Changing in how pwm period, max allowable pwm are calcualted. Also provide getters.
BEMF control of legs now works on IP2.5