Greate code improvement. Need to check integ function: z(c) or z(x)?