added some restructured text docstrings, added a license, fixed test_affine
added some more docstring comments