adds same size check and matrix addition