Fix sampled_function.cc to use the new CubicInterpolator API. Change-Id: I1b2063505dc2296c141989c93a939175d5dba7e1