Fixed order of check-ups when generating or updating cache file.

In this version we ask first if there is a dissimilarity matrix available and later if the size is consistent with the size of tractography.