A method for predicting accrual, cost, and paper flow in clinical trials