Fixed bug in Spergel formula in datacube_simulate, found by Matt.