A New Method for Simulating Non-Gaussian and Nonstationary Stochastic Processes