DOC: more examples in cookbook.rst