fixed trailing whitespaces in LogisticRegression code.