Added gradual rotation and changed variable moveDist from a const to real variable.