Improve GetData() func & fix x/y bug in GenSphere

Also reorganize methods & convert tabs to spaces for consistency
Match GetData() func param order
Merge pull request #6 from teddybradford/master

Improve GetData() func & fix x/y bug in GenSphere