Added prototype of a multi-dimensional interpolation support
Simplified the built-in function and function interpolation API, fixed code
Updated function tests