getRequiredDataPoints
Given the desired degree, returns the number of data points required for interpolation. Since linear interpolation can only generate a first degree polynomial, this function always returns 2.
Return
This function always returns 2.
Parameters
degree
The desired degree of interpolation.