Added area calculation function for arbitrary polygon