handle similarity as well as dissimilarity matrices
clean up nanmask definition
added support for split data RDM, repaired bugs in inference. Old results on model RDMs with NaNs are likely invalid.