A method to enerate autocorrelated stochastic based on the random phase spectrum