simple geo calculator for points and distances for Perl 5