Everything in one module so that the blog is self-contained.
Remove unused code and replace the hand calculated derivative of the
activation function by its automatically calculated counterpart. Of
course this is *not* the point of the article but it is still in the
context of backpropagation.