tfr function

Compute total fertility rate from fertility rates