Fixed bug where I forgot to pass smoothing argument, resulting in uniform distributions.