Equalization of modal dispersion in multimode fiber using spatial light modulators