Added gaussian random number and scheduler