Convert 3d Coordinates To 2d Python