modified function get_tla2() and add comments to various places

 - the output of get_tla() is made more consistent with the temporary annuity formula used in cost prorate methods.
 - detailed descriptions are added to get_tla and get_tla2 functions