horzflip(M) Returns the matrix M flipped horizontally.
vertflip(M) Returns the matrix M flipped vertically.