adds in f computation and f update for grid interpolations
adds in f computation and f update for grid interpolations