Updated test case for functions
Added basic 1D linear interpolation (a placeholder)
Added placeholder for spline interpolation
Nested functions are now considered (and their average value is used for 1D interpolation)