New code works for all examples
code files completely updated, including docstrings
finished work on this branch
New major release 1.1.0