A2.4: Add, subtract, and multiply matrices of appropriate dimensions.