im about to change how i optimize thresholds
changed how i was calculating mutual information