Text this: Improving the Accuracy of the Pencil of Function Method Increasing Its Matrix Polynomial Degree