added ApplyCLAHE wrapper to Matrix