added bounding boxes to see the dimensions of the matrix