Error: Illegal number of elements (3) for free matrix of lower matrix constructor