Fix calculate()
Add hole eclipse wall check
Add elementsIntersect()