real function sph_harm(l,m,theta) c Returns part of the spherical harmonic function c Y(l,m,theta) where l is the harmonic degree, 0=