added initial x,b to logreg. removed all_zero parameter from logreg