Took out the cast of the orig uid and orig iid to int, so they can
contain letters. I hope this doesn't damage anything.
Corrected minor errors in the docstrings.
Working on the user manual.