Added matriceDeGain

Added matriceDeGain