Perl extension for calculate plane coordinates from lat,lng or do inverse