Merge pull request #147 from tmeusburger/polygon_centroid

Implementation and tests for generating a polygons centroid
Update centroid logic to cacluate once and update code to match styleguide