Sampling functions now work. Need to add a frequency threshold for the mixture sampler though.