Plane distance fixed and static factory methods added