Added a class for handling of temporary pointers which handles the deletion of the object
Added function to get the root node and a nodes children
Started implementing fast fitting on RBFs