added SampleBySampleSimilarityMeasure