Implementation of the iterative closest point algorithm. A point cloud is transformed such that it best matches a reference point cloud.