Added function to calculate spherical polygon area