Reworked the triangle-plane intersection code, fixed the tests