removes the median and standardizes by the 1.483*median absolute deviation
Z = nan_zScoreMedian(X, DIM)
data
dimension along which z-score should be calculated (1=columns, 2=rows)
z-scores