Calculate accruals and make adjustments