Generalise axis handling and improve docstrings.
Merge pull request #56 from rhattersley/axis-as-tuple

Generalise axis handling and improve docstrings.