Adding logistic regression example and moving valgrind include into internal configuration file (upon Barry Smith's suggestion).