some cleanup and adding p2
added google maps geometry library