fixed typedef for LogisticRegression. Updated LogisticRegression prototype with newer C++ API