added the PMath Class with static methods
added PMath.map()