create_matrix_smart function

Create a matrix for lower and upper