motor_test: cleanup

Cleaned up some odd code comments and formatting and a suspicious fp cast.

@LorenzMeier 
Now I understand your hint about "natural output units". Sorry for the dangling comment, obviously a remainder of excessive copy'n'paste ;-)