Expands lower triangular to full matrix.
tri_to_full(lower_tri, n)
A matrix representing the lower triangular part of the matrix, stacked in column-major order
The number of rows (columns) in the full square matrix.
A matrix that is the scaled expansion of the lower triangular matrix.