Matching NURBS Surfaces G1 and G2