updated power spectrum simulation code (spherical harmonics used)