Make compute_cgStrain a subfunction of eig_cgStrain