matrix fliping
Y=wrev(x,M)
wrev2 is a fliping utility function on time domain.
a=rand(3,3); Y=wrev(a,1);
Roger Liu and Isaac Zhi