Updated driver to correctly convert input to rpm for motor controller