Added assignment on matrices