Modify getCladeRates.R to return consistent output structure, and return list element named beta if bamm trait data