corrected variable name and added calculation of per lineage rates to dataOut