finished isPlane and unit test, works fine!