Jar file for distance calculation