Added rbf basic implementation