minor speedup to Gaussian, making DensityMap::get_threshold_map take a const pointer

message describing the commit