fixed jarowinkler calculation