Fixed points being fed to sph-harm calculations being properly transposed, resolved some memory leaks'