Added procedure for solving a triangular system of linear equations