Added Single Linkage clustering and updated variable names.