Fixed root allocation when using allometric model, changed default params and changed moving average code