now using pearsonvec inside loop since data are already rank transformed. Should produce a nice speedup.
added support for NaNs in predictor RDM (for dissimilarities with no predicted structure)
removed redundant find
added median filter method
simple utility function
added smooth method, fixed minor bugs in indexing