Finding the area of a complex polygon