new funtion th.cyc to determine the Ct value