A Deformable Image Registration Algorithm Using NURBS