Add license and improve documentation.
Major refactoring and improvements for 0.2.
Improve performance.
Update documentation and default settings for 0.2.
Add configurable initial random-sample size.