fixed trailing white-space in sample program for logistic regression