Added basic mathematical operations

Basic mathematical operations like addition and subtraction
were added for the matrix.
Implemented basic operations.

Implemented the basic operations addition and subtraction.