Minimization of Generalized Reed-Muller Expansion and Its Sub-class