Added additional logging, fixed bugs. Hunting bug which results in NaN
distances.
Merge branch 'master' of https://github.com/cristiantoader/JavafacesLib.git