Changed SloppyMathTests and changed plane distance function