Fixed two bugs that led to an error and a warning in PhidgetMotor