Add new generic method weights

Implemented for Zvariant
Update news
Fix regroup_curves for single feaure groups
groups<- works correctly with groupnames
Update tests
Update news