geoPlot v2.2 R code - all functions in a single file