I should have included the definition I used for spherical harmonics (since different definitions are used in different fields). I use the DLMF definition given in http://dlmf.nist.gov/14.30.E1 http://dlmf.nist.gov/14.30.E3