Computation of Functions of Triangular Matrices.