bump version to 0.1.2. Added runtime exceptions with error messages for some cases of user error. Added documentation on using the library.