added weight feature to the nurbs_suface class