Calculate the area of a simple polygon