implemented gaussian noise