Fixed getSpeed and getDirection returning incorrect values after stop
setSpeed now has no return value and constrains input.