Added 3D solver.