SCA_RWM function

SCA with random walk in M