Convert the headers related to the 3d simulation to use smart pointers