Much maths later I have fixed the errors with the prism generation, the formShape is now working correctly with both even and odd sided prisms being created with no holes
Merge branch 'master' of https://github.com/Benedict-Bolton/Per10-Bolton-Offenholley-5DWorld