added cap spherical harmonic transform