even more speed improvements to make_gaussian_quantiles