Add tau calculation