fixed bug in mortality generator, more subgroup functions