Tutorial update
Documentation updates
Added docstring