Vital error in Sperical Harmonics found.

Combine efficient way to origin script and try to fix the bug