Fixed some errors - intersection with 1 plane now working.

1. (FIXED) The code flipped the edge on the wrong case when detecting
edge-plane intersection.
2. (FIXED) Face vertices were not being correctly generated in the case
where one edge is culled.