Matrix class and adding