input validation for tau and zeta