Fixes for Quads and Smoothing.

I have created a fix for quads with vertices in the wrong order. Without this some meshes will have unsightly holes.

Additionally I have made some small changes, to smooth the meshes.