Improved documentation and removed an assert statement that is not needed.

This is for #196.
Changed assert test so that the actual condition is tested.

This is for #196.