a simple matlab code implemented the GamaCorrect