Generalized decomposition method: Applications to nonlinear oscillator and MHD fluid flow past cone/wedge geometries