Text this: A rational cubic spline technique for preserving the positivity of data