BUG:  Need to check the size of the restrict deformation weight vector.