Mutual Information measures using kNN for both continuous and categorical (discrete) variables [Matlab code]