Revert "Fixed issues with moveMotor method."

This reverts commit 83c56670c3b1cc22c55836d4a1d5f42772e198bf.
Revert "Revert "Fixed issues with moveMotor method.""

This reverts commit 54491c61a5c37856e0159294a362deebd8357c98.