Includes all functionality sans sampling via Gaussian distributions

I think it should be sigma_prime = n * sigma;  ?