implementation of spherical harmonic reconstruction in D, using tonto outputs