added a flag for Gaussina centers and changed luminance to be drawn from a uniform distribution rather than a gaussian