Proper tessellation mostly working

Code needs to be refactored & the discontinuities at the poles need to
be fixed.