Increments all the values in a specified number of rows in matrix mA, starting from row r. The result is stored in matrix mB