fixed group definitions
added preliminary fitting routine for profiles
merged keywords to support axis and in_units
fixed nan issue with make_grp()