ENH: commenting, fixed a typo
MAINT: expanded documentation
MAINT: added test of trival case
MAINT: added test