Generates M amplitude adjusted phase shuffled surrogate time series from x.
Useufel for testing the underlying assumption that the null hypothesis consists
of linear dynamics with possibly non-linear, monotonically increasing,
Required Input Parameters:
Nx1 vector of doubles
1x1 scalar specifying the number of surrogate time series to
Required Output Parameters:
NxM vector of doubles
 Kaplan, Daniel, and Leon Glass. Understanding nonlinear dynamics. Vol. 19. Springer, 1995.
Written by Ikaro Silva, 2014
Last Modified: November 20, 2014
See also MSENTROPY, SURROGATE