Fix documentation
Add possibility to pass ndarray's