Underwater 3D vision, ranging and range gating