Added math comments to signedArea and contains.