https://hgpu.org/?p=4949
Noise-resistant fitting for spherical harmonics