Fixed not handled exception (it's been ff to c code)
Added old getSimilarity methods
Merge pull request #23 from dmedov/dev_linux

Old getSimilarity methods added