Improved documentation.
Peak out of range test.
Sample size zero test added.
Improved documentation.
1.1.0. Improved documentation and handling of invalid parameters.