Very basics of OpenCV matrix manipulations