second example + ipynb. Some bug fixes. Enhancement of the GridSearch.