commutationNumbers function

Calculate the commutation numbers for the given parameters, using the mortality table and an interest rate