Algorithm for finding a function connecting points in a space

I have a set of points in a space and I need to find an algorithm which will find the function which connects these points.

From current analysis I know that no three points lie in the same plane. So how can I use Mathematica to find such a function in this space?