Automatic 3 D Registration of Lung Surfaces in Computed Tomography Scans