Adding all matrix content