Improve lecture 13 ipytjon notebook.