Began interpolation C code

C routines to interpolate tables