collecting and subtracting matrices with the calculator