I am trying to write a matrice class that adds two matrices together like A=B+C, all though this works fine, I am not getting correct answer when three matrices are involved