works. adds coresponding elements of 5x5 matrix