Fast algorithm for a three-dimensional synthetic model of intermittent turbulence