Fixed errors in speed, direction, hspeed, vspeed.

Assignments to speed, direction, hspeed and vspeed now
passes all tests.
Merge branch 'master' into integration_testing_develop