Multistage Preconditioner for Well Groups and Automatic Differentiation for Next Generation GPRS