fixed sphere mesh generator, minor tweaks