3D Reconstruction of Cameras and Structure