added deg parameter to moveto and fixed turns