Low-order differentiation

With respect to z

With respect to g_{2}

With respect to g_{3}

With respect to omega_{1}

With respect to omega_{3}