sorted the coordinate system

It appears that my coordinate system was incorrect