Flip matrix in up/down direction.
FlipUD(X) modifies the matrix with columns preserved and rows flipped in the up/down direction.