Added docstrings
Updated samples