add linear interpolation functions and the Near() predicate