Generation of Correlated and Constrained Gaussian Stochastic Processes for N-Body Simulations