Radial Basis Function Implementation