calcMidRange function

Calculate the Midpoint of the X/Y Ranges of Polygons