Fixed Legacy Movement

Updated getDx() to return the X not the Hypotenuse, fixed bugs of speed
change and when facign the wrong direction