added more mostSimilar methods and changed mostSimilar(TIntIntMap) to a TIntDoubleMap