fix and test mahout logistic regression