added base class for rbf layer