Working on the elemental matrix