Updated to run from jar file. Also changed the main distance function to subopt-seq instead of previous one which is now deprecated.