The function outputs a matrix given a vector as its elements in the upper triangular part.
ConvertVectorToMatrix(x)
x: a postive integer that indicates the number of elements in the upper triangular matrix.
A square matrix
The length of vector equal the number of elements in a squared upper triangular matrix. It assigns value in the vector to the matrix accordingly. Eventually, the output of the matrix will be the matrix with lower triangular part equal to the upper triangular part.