small fixes/changes in SimilarityMap
more tests for SimilarityMap
Merge pull request #95 from sriniker/master

small fixes/changes in SimilarityMap