Added code to average weighted geographic coordinates.