added in gaussian noise function