compute MI of all features