made fortran interpolation work