Write a procedure which takes a square matrix operand and evaluates its transpose (the rows are interchanged by columns).
Write a procedure which takes a square matrix operand and evaluates its trace (the sum of the diagonal elements).