update ratiocalculation.r to include path_length and tot_stem_m. data inserted into branchsegments.csv