mortalityImprovement function

Return the mortality trend (yearly log-death-probability improvement) of the given period or the given generation.