working on RBF control function optimization