Ensure X values are strictly monotonic increasing http://www-groups.mcs.st-andrews.ac.uk/~john/analysis/Lectures/L8.html
Ensure X values are strictly monotonic increasing http://www-groups.mcs.st-andrews.ac.uk/~john/analysis/Lectures/L8.html