Estimating monotonic rates from biological data using local linear regression