Doctest enabling

This PR addresses #61 and fixes the failing examples.
See comment below ... use a bit smaller arrays for the example.