Support numpy arrays for input in Layer.get_output

Addresses #60, and also adds missing documentation for `get_output` and `get_output_for`.