Update MinDistCompare.java

Completed Documentation.