Update motor.py

added source reference