Fixed problem with inverting landmasses over poles. Improved path transform tools