Added complete gaussian sampling, does not run