updated motors.py

added scaling function and fixed an example typo -s