Optimise area calculation for CCW detection.

Fixes #39.