added gVec to simulations for relnonlin