Several refactorings and bug fixes.

* better parser of command line arguments
* better determination of sequence types and lists
* parametrization of PCA now uses ratio of variance of normal subspace
* DPGMM now determines number of components automatically
* docstrings in model
* correct determination of positives vs. negatives
* mahalanobis distance should be inverted