Calibrates motor speeds