Biologically Plausible Learning Rules for Perceptual Systems that Maximize Mutual Information