Fixed some bugs in the robust logistic regression