optimize

add private method 'isRBF' ;optimize code;