Added the error derivation for the spherical harmonics (turns out to be
the same as without the spherical harmonics)