Started porting python RBF core to C#.