How do I change the height of row in a matrix?