calculating taus