An Extended Riccati Equation Rational Expansion Method and its Applications