Add fix to getRateThroughTimeMatix.R to more gracefully handle small trees