powered by
Function make_diag() takes a vector x and returns a matrix with diagonal consists the values of x.
.make_diag(x)
vector
diagonal matrix y