PTGs: small code refactoring; new method inverseMap_WS2TP()