Box Muller transformation corrected and replaced