answer = UPPERTRIANGLE(matrix)
Converts a matrix to upper triangular form.
UPPERTRIANGLE([1,2;3,4]) = [1,2;0,-2]
lowertriangle