made vector rbf permanent; cleaned up obsolete code (& cosmetics)