Cosines, Euclid, Tanimoto metrics added. Sample comparison method implemented.