More RBF core porting. In process of translating numpy calls math to dotnumerical matrix calls