added regularizer for the rbf case