Maxima Function
setelmx (x, i, j, M)
Assigns x to the (i, j)'th element of the matrix M, and returns the altered matrix.
M [i, j]: x has the same effect, but returns x instead of M.
M [i, j]: x