Ported TreeInertialParameters solver to UndirectedTreeSolver