ArcGIS implementation of SAMPLE code documented in USGS OFR 90-4101