A Secure Algorithm for Rounded Gaussian Sampling