Added ability to replace surface patch in piecewise surfaces. Note that the set() method should be used on piecewise surfaces during the creation stage when you do not want to check that new patch boundaries match rest of patch boundaries.