Model Reduction of Weakly Nonlinear Systems