Calculate powerspectrum and bispectrum from Gadget (from Simeon)