write to *err*
add docstrings, implement max-sample-count
update readme
version to 0.3.0