R_PlaneForSurface in F#. (not finished)