Merge pull request #2 from mziwisky/devEli

Plane3D math fixes