added code for planeEquation. no tested yet