Moved the mesh updates around and added a temporary mesh solution so that it can be updated on each iteration of gradient method or outer loop of the CG method, but also have a way of resetting on each iteration of the nonlinear NS solve.