mirror.matrix function

Mirrors a matrix upside-down. Used in re-arranging image data for plotting properly in R.