Calculations for the linear and nonlinear optical coefficients of ZCTC crystals