changed initialization of rbf coding to take in center