Determinant of a Triangular Matrix