src - Add exception
src - Raise exception if not enough data
test - Test for raised exception if not enough data
doc - Update README
doc - Add initial API docs