added swapRow, swapCol, flipHorizontal, flipVertical, rotateCW, and rotateCCW