Modified the unit area calculation routine to handle shapes that contain sub-shapes that are triangular and are 1/2 of a unit square.