Calculation of deferred taxes