Reworked internals of distribution to use random.gauss