Tests and basic documentation

@davisagli We have added a basic README (based on some of your previous explanations of the package), some docstrings on key methods and a couple of tests.