Added SH integration
Some SH tensor magic