fixed typo
added script documentation
fixed error in docstring left over from previous iteration of code
adjusted handling of None based on comment from @jrrideout. there are more causes of None being returned than zero variance, so better to just let it be handled internally.
added documentation to help with interpreting output