OpenCV library for rotating a matrix without cropping