Commented unnecessary code that was giving segmentation faults for 3D