ENH Use sklearn instead of raw numpy for LR

This is a better interface and fits better with the spirit of the book.
ENH Use sklearn for figure 1
RFCT Use predict on 2d arrays instead of loop

Simplify the code in general.