Handle null result values.
Create classes for simple cluster analysis.
closes #97.