Changed num_gauss