proteus  1.8.1
C/C++/Fortran libraries
equivalent_polynomials_coefficients_quad.h
Go to the documentation of this file.
1 #ifndef EQUIVALENT_POLYNOMIALS_COEFFICIENTS_QUAD_H
2 #define EQUIVALENT_POLYNOMIALS_COEFFICIENTS_QUAD_H
3 
5 {
6  template<int nP>
7  inline void _calculate_b(double theta01, double theta02, double theta31, double theta32,
8  double phi0, double phi1, double phi2, double phi3,
9  double* b_H, double* b_ImH, double* b_D);
10 
11  template<>
12 inline void _calculate_b<1>(double theta01, double theta02, double theta31, double theta32,
13  double phi0, double phi1, double phi2, double phi3,
14  double* b_H, double* b_ImH, double* b_D)
15  {
16  b_H[0] = (1.0/6.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
17  b_ImH[0] = 1.0/6.0 - 1.0/6.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
18  b_D[0] = -0.16666666666666666*theta02*(theta31 - 1)/(-phi0 + phi1) - 0.16666666666666666*theta31*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/6.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(-8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) + 2*theta02*theta31 - 2*theta02 - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (theta02*theta32 + theta02*(theta01 - 1) - theta02 - theta32 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/6.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + std::pow(theta31, 2) - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02) + (theta01*theta31 - theta01 + theta31*(theta32 - 1) - theta31 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
19  b_H[1] = (1.0/24.0)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
20  b_ImH[1] = 1.0/24.0 - 1.0/24.0*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
21  b_D[1] = 0.041666666666666664*theta02*(std::pow(theta31, 2) - 2*theta31 + 1)/(-phi0 + phi1) + 0.041666666666666664*theta31*(theta02*theta31 + 2*theta02*theta32 - 3*theta02 - theta31 - 2*theta32 + 3)/(phi2 - phi3) - 0.041666666666666664*(8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) - 2*theta02*theta31 + 2*theta02 + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*theta31*theta32 + theta02*theta31 - theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta02*(2*theta01*theta31 - 2*theta01 - 2*theta31 + 2) - 2*theta02 + theta31*theta32 - theta31*(theta02*theta32 - theta02 - theta32 + 1) - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 32*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 6*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2)*std::pow(theta31, 2) + 12*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 - std::pow(theta31, 2) + 2*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) - theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - theta31*(theta31*theta32 - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
22  b_H[2] = (1.0/24.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
23  b_ImH[2] = 1.0/24.0 - 1.0/24.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
24  b_D[2] = -0.041666666666666664*std::pow(theta02, 2)*(theta31 - 1)/(-phi0 + phi1) - 0.041666666666666664*theta31*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/24.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(theta01 - 1) - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 2) + 12*theta02*theta31 - 6*theta02 + (2*theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
25  b_H[3] = (1.0/24.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/24.0*std::pow(theta01, 2)*theta02 + (1.0/24.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/24.0*theta01*theta02*theta31 + (1.0/24.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/24.0*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2)*theta32 + 1.0/24.0;
26  b_ImH[3] = -1.0/24.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/24.0)*std::pow(theta01, 2)*theta02 - 1.0/24.0*theta01*theta02*std::pow(theta31, 2) + (1.0/24.0)*theta01*theta02*theta31 - 1.0/24.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 2) + (1.0/24.0)*std::pow(theta31, 2)*theta32;
27  b_D[3] = -1.0*((1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta02 + (1.0/12.0)*theta01*theta02*theta31 - 1.0/24.0*theta01*theta02 + (1.0/12.0)*theta02*theta31*theta32 - 1.0/12.0*theta02*theta31 - 1.0/12.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta31 - 1.0/24.0*std::pow(theta01, 2) + (1.0/24.0)*theta01*std::pow(theta31, 2) - 1.0/24.0*theta01*theta31 + (1.0/24.0)*std::pow(theta31, 2)*theta32 - 1.0/24.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/12.0)*theta01*theta02*theta31 - 1.0/12.0*theta01*theta02 + (1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*theta02*theta31)/(-phi0 + phi1);
28  }
29 
30  template<>
31 inline void _calculate_b<2>(double theta01, double theta02, double theta31, double theta32,
32  double phi0, double phi1, double phi2, double phi3,
33  double* b_H, double* b_ImH, double* b_D)
34  {
35  b_H[0] = (1.0/6.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
36  b_ImH[0] = 1.0/6.0 - 1.0/6.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
37  b_D[0] = -0.16666666666666666*theta02*(theta31 - 1)/(-phi0 + phi1) - 0.16666666666666666*theta31*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/6.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(-8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) + 2*theta02*theta31 - 2*theta02 - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (theta02*theta32 + theta02*(theta01 - 1) - theta02 - theta32 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/6.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + std::pow(theta31, 2) - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02) + (theta01*theta31 - theta01 + theta31*(theta32 - 1) - theta31 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
38  b_H[1] = (1.0/24.0)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
39  b_ImH[1] = 1.0/24.0 - 1.0/24.0*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
40  b_D[1] = 0.041666666666666664*theta02*(std::pow(theta31, 2) - 2*theta31 + 1)/(-phi0 + phi1) + 0.041666666666666664*theta31*(theta02*theta31 + 2*theta02*theta32 - 3*theta02 - theta31 - 2*theta32 + 3)/(phi2 - phi3) - 0.041666666666666664*(8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) - 2*theta02*theta31 + 2*theta02 + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*theta31*theta32 + theta02*theta31 - theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta02*(2*theta01*theta31 - 2*theta01 - 2*theta31 + 2) - 2*theta02 + theta31*theta32 - theta31*(theta02*theta32 - theta02 - theta32 + 1) - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 32*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 6*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2)*std::pow(theta31, 2) + 12*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 - std::pow(theta31, 2) + 2*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) - theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - theta31*(theta31*theta32 - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
41  b_H[2] = (1.0/60.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
42  b_ImH[2] = 1.0/60.0 - 1.0/60.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
43  b_D[2] = -0.016666666666666666*theta02*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(theta02*std::pow(theta31, 2) + 2*theta02*theta31*theta32 - 4*theta02*theta31 + 3*theta02*std::pow(theta32, 2) - 8*theta02*theta32 + 6*theta02 - std::pow(theta31, 2) - 2*theta31*theta32 + 4*theta31 - 3*std::pow(theta32, 2) + 8*theta32 - 6)/(phi2 - phi3) - 0.016666666666666666*(-12*std::pow(theta02, 4)*std::pow(theta31, 2) + 24*std::pow(theta02, 4)*theta31 - 12*std::pow(theta02, 4) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 24*std::pow(theta02, 2)*theta31 - 12*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2) - 6*theta02*theta31 + 3*theta02 - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 + theta02*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 + theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 3*theta02 - 2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 48*std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 18*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 18*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 3) + 24*theta02*std::pow(theta31, 2) - 24*theta02*theta31 + 8*theta02 + std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) + theta31*(std::pow(theta31, 2)*theta32 - std::pow(theta31, 2) + theta31*std::pow(theta32, 2) - 4*theta31*theta32 + 3*theta31 + std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 6*theta32 - 3) - 3*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
44  b_H[3] = (1.0/24.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
45  b_ImH[3] = 1.0/24.0 - 1.0/24.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
46  b_D[3] = -0.041666666666666664*std::pow(theta02, 2)*(theta31 - 1)/(-phi0 + phi1) - 0.041666666666666664*theta31*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/24.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(theta01 - 1) - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 2) + 12*theta02*theta31 - 6*theta02 + (2*theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
47  b_H[4] = (1.0/120.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
48  b_ImH[4] = 1.0/120.0 - 1.0/120.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
49  b_D[4] = -0.0083333333333333332*std::pow(theta02, 2)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0083333333333333332*theta31*(std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*theta31*theta32 - theta02*theta31 + 6*theta02*std::pow(theta32, 2) - 10*theta02*theta32 + 3*theta02 - 2*theta31*theta32 - 6*std::pow(theta32, 2) + 8*theta32)/(phi2 - phi3) - 0.0083333333333333332*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 2)*theta31*theta32 + std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 2) - theta02*theta31*std::pow(theta32, 2) + theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 5*theta02*std::pow(theta32, 2) - 3*theta02*theta32 + theta31*std::pow(theta32, 2) - theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - theta31 + 2*std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-4*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*theta31 - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 6*theta02*std::pow(theta31, 2) - 12*theta02*theta31 + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2)) + (2*theta02*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + 2*theta02*std::pow(theta32, 2) - 6*theta02*theta32 + 4*theta02 + theta31*std::pow(theta32, 2) - theta31*theta32 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
50  b_H[5] = (1.0/60.0)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
51  b_ImH[5] = 1.0/60.0 - 1.0/60.0*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
52  b_D[5] = -0.016666666666666666*std::pow(theta02, 3)*(theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/60.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 5) - 8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(theta01 - 1) - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4)*std::pow(theta31, 2) - 20*std::pow(theta02, 4)*theta31 + 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (3*std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
53  b_H[6] = (1.0/24.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/24.0*std::pow(theta01, 2)*theta02 + (1.0/24.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/24.0*theta01*theta02*theta31 + (1.0/24.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/24.0*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2)*theta32 + 1.0/24.0;
54  b_ImH[6] = -1.0/24.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/24.0)*std::pow(theta01, 2)*theta02 - 1.0/24.0*theta01*theta02*std::pow(theta31, 2) + (1.0/24.0)*theta01*theta02*theta31 - 1.0/24.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 2) + (1.0/24.0)*std::pow(theta31, 2)*theta32;
55  b_D[6] = -1.0*((1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta02 + (1.0/12.0)*theta01*theta02*theta31 - 1.0/24.0*theta01*theta02 + (1.0/12.0)*theta02*theta31*theta32 - 1.0/12.0*theta02*theta31 - 1.0/12.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta31 - 1.0/24.0*std::pow(theta01, 2) + (1.0/24.0)*theta01*std::pow(theta31, 2) - 1.0/24.0*theta01*theta31 + (1.0/24.0)*std::pow(theta31, 2)*theta32 - 1.0/24.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/12.0)*theta01*theta02*theta31 - 1.0/12.0*theta01*theta02 + (1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*theta02*theta31)/(-phi0 + phi1);
56  b_H[7] = (1.0/120.0)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
57  b_ImH[7] = 1.0/120.0 - 1.0/120.0*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
58  b_D[7] = 0.0083333333333333332*theta02*(2*theta01*std::pow(theta31, 2) - 4*theta01*theta31 + 2*theta01 + 2*std::pow(theta31, 3) - 4*std::pow(theta31, 2) + 2*theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(-2*theta02*theta31 - 2*theta02*theta32 + 4*theta02 + 2*theta31 + 2*theta32 - 4)/(phi2 - phi3) - 0.0083333333333333332*(24*std::pow(theta02, 4)*std::pow(theta31, 2) - 24*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2) + 12*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 24*std::pow(theta02, 2)*std::pow(theta31, 2) - 24*std::pow(theta02, 2)*theta31 - 6*theta02*std::pow(theta31, 2) + 6*theta02*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 2)*theta31 - 2*std::pow(theta01, 2) + 6*theta01*std::pow(theta31, 2) - 8*theta01*theta31 + 2*theta01 - 6*std::pow(theta31, 2) + 6*theta31) + std::pow(theta31, 2)*(-2*theta02*theta32 + 2*theta02 + 2*theta32 - 2) + 2*theta31*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 32*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 18*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 18*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 16*theta02*std::pow(theta31, 3) - 24*theta02*std::pow(theta31, 2) + 8*theta02 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) + std::pow(theta31, 2)*(-2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*std::pow(theta31, 2) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
59  b_H[8] = (1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/120.0*std::pow(theta02, 2) + (1.0/120.0)*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/120.0*std::pow(theta31, 2) + 1.0/120.0;
60  b_ImH[8] = -1.0/120.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/120.0)*std::pow(theta02, 2) - 1.0/120.0*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/120.0)*std::pow(theta31, 2);
61  b_D[8] = -0.0083333333333333332*std::pow(theta02, 2)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta02, 2)*theta31 + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/60.0)*theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/60.0*theta31)/(phi1 - phi3) - 1.0*((1.0/60.0)*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/60.0*theta02 + (1.0/120.0)*std::pow(theta31, 2)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
62  b_H[9] = (1.0/60.0)*std::pow(theta01, 3)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 3)*theta02 + (1.0/60.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/60.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/60.0*theta01*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/60.0*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3)*theta32 + 1.0/60.0;
63  b_ImH[9] = -1.0/60.0*std::pow(theta01, 3)*theta02*theta31 + (1.0/60.0)*std::pow(theta01, 3)*theta02 - 1.0/60.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*theta01*theta02*std::pow(theta31, 3) + (1.0/60.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/60.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/60.0)*theta02*std::pow(theta31, 3) + (1.0/60.0)*std::pow(theta31, 3)*theta32;
64  b_D[9] = -1.0*((1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3))/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta02 + (1.0/30.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 2)*theta02 + (1.0/20.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/20.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/20.0*theta02*std::pow(theta31, 2) - 1.0/20.0*std::pow(theta31, 2)*theta32)/(phi1 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta31 - 1.0/60.0*std::pow(theta01, 3) + (1.0/60.0)*std::pow(theta01, 2)*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta31 + (1.0/60.0)*theta01*std::pow(theta31, 3) - 1.0/60.0*theta01*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta31, 3)*theta32 - 1.0/60.0*std::pow(theta31, 3))/(-phi0 + phi2) - 1.0*((1.0/20.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/20.0*std::pow(theta01, 2)*theta02 + (1.0/30.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*theta02*std::pow(theta31, 2))/(-phi0 + phi1);
65  }
66 
67  template<>
68 inline void _calculate_b<3>(double theta01, double theta02, double theta31, double theta32,
69  double phi0, double phi1, double phi2, double phi3,
70  double* b_H, double* b_ImH, double* b_D)
71  {
72  b_H[0] = (1.0/6.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
73  b_ImH[0] = 1.0/6.0 - 1.0/6.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
74  b_D[0] = -0.16666666666666666*theta02*(theta31 - 1)/(-phi0 + phi1) - 0.16666666666666666*theta31*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/6.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(-8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) + 2*theta02*theta31 - 2*theta02 - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (theta02*theta32 + theta02*(theta01 - 1) - theta02 - theta32 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/6.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + std::pow(theta31, 2) - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02) + (theta01*theta31 - theta01 + theta31*(theta32 - 1) - theta31 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
75  b_H[1] = (1.0/24.0)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
76  b_ImH[1] = 1.0/24.0 - 1.0/24.0*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
77  b_D[1] = 0.041666666666666664*theta02*(std::pow(theta31, 2) - 2*theta31 + 1)/(-phi0 + phi1) + 0.041666666666666664*theta31*(theta02*theta31 + 2*theta02*theta32 - 3*theta02 - theta31 - 2*theta32 + 3)/(phi2 - phi3) - 0.041666666666666664*(8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) - 2*theta02*theta31 + 2*theta02 + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*theta31*theta32 + theta02*theta31 - theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta02*(2*theta01*theta31 - 2*theta01 - 2*theta31 + 2) - 2*theta02 + theta31*theta32 - theta31*(theta02*theta32 - theta02 - theta32 + 1) - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 32*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 6*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2)*std::pow(theta31, 2) + 12*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 - std::pow(theta31, 2) + 2*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) - theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - theta31*(theta31*theta32 - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
78  b_H[2] = (1.0/60.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
79  b_ImH[2] = 1.0/60.0 - 1.0/60.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
80  b_D[2] = -0.016666666666666666*theta02*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(theta02*std::pow(theta31, 2) + 2*theta02*theta31*theta32 - 4*theta02*theta31 + 3*theta02*std::pow(theta32, 2) - 8*theta02*theta32 + 6*theta02 - std::pow(theta31, 2) - 2*theta31*theta32 + 4*theta31 - 3*std::pow(theta32, 2) + 8*theta32 - 6)/(phi2 - phi3) - 0.016666666666666666*(-12*std::pow(theta02, 4)*std::pow(theta31, 2) + 24*std::pow(theta02, 4)*theta31 - 12*std::pow(theta02, 4) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 24*std::pow(theta02, 2)*theta31 - 12*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2) - 6*theta02*theta31 + 3*theta02 - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 + theta02*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 + theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 3*theta02 - 2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 48*std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 18*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 18*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 3) + 24*theta02*std::pow(theta31, 2) - 24*theta02*theta31 + 8*theta02 + std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) + theta31*(std::pow(theta31, 2)*theta32 - std::pow(theta31, 2) + theta31*std::pow(theta32, 2) - 4*theta31*theta32 + 3*theta31 + std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 6*theta32 - 3) - 3*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
81  b_H[3] = -1.0/120.0*theta01*theta02*std::pow(theta31, 4) + (1.0/30.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/20.0*theta01*theta02*std::pow(theta31, 2) + (1.0/30.0)*theta01*theta02*theta31 - 1.0/120.0*theta01*theta02 - 1.0/120.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/120.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/30.0*theta02*std::pow(theta31, 3) - 1.0/120.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/20.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*theta02*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/12.0*theta02*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta02*theta31*theta32 - 1.0/30.0*theta02*theta31 + (1.0/120.0)*std::pow(theta31, 4)*theta32 + (1.0/120.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/24.0*std::pow(theta31, 3)*theta32 + (1.0/120.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/24.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*std::pow(theta31, 2)*theta32 + (1.0/120.0)*theta31*std::pow(theta32, 4) - 1.0/24.0*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta31*std::pow(theta32, 2) - 1.0/12.0*theta31*theta32 + 1.0/120.0;
82  b_ImH[3] = (1.0/120.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/30.0*theta01*theta02*std::pow(theta31, 3) + (1.0/20.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/120.0)*theta01*theta02 + (1.0/120.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/120.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/24.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/30.0)*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/24.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/20.0*theta02*std::pow(theta31, 2) + (1.0/120.0)*theta02*theta31*std::pow(theta32, 4) - 1.0/24.0*theta02*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/12.0*theta02*theta31*theta32 + (1.0/30.0)*theta02*theta31 - 1.0/120.0*std::pow(theta31, 4)*theta32 - 1.0/120.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*std::pow(theta31, 3)*theta32 - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 - 1.0/120.0*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta31*theta32;
83  b_D[3] = -1.0*(-1.0/120.0*theta02*std::pow(theta31, 4) - 1.0/60.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 3) - 1.0/40.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/12.0*theta02*std::pow(theta31, 2) - 1.0/30.0*theta02*theta31*std::pow(theta32, 3) + (1.0/8.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/6.0*theta02*theta31*theta32 + (1.0/12.0)*theta02*theta31 + (1.0/120.0)*std::pow(theta31, 4) + (1.0/60.0)*std::pow(theta31, 3)*theta32 - 1.0/24.0*std::pow(theta31, 3) + (1.0/40.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 + (1.0/12.0)*std::pow(theta31, 2) + (1.0/30.0)*theta31*std::pow(theta32, 3) - 1.0/8.0*theta31*std::pow(theta32, 2) + (1.0/6.0)*theta31*theta32 - 1.0/12.0*theta31)/(phi2 - phi3) - 1.0*(-1.0/30.0*theta01*theta02*std::pow(theta31, 3) + (1.0/10.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/10.0*theta01*theta02*theta31 + (1.0/30.0)*theta01*theta02 - 1.0/30.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/30.0)*theta02*std::pow(theta31, 3) - 1.0/40.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/8.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/10.0*theta02*std::pow(theta31, 2) - 1.0/60.0*theta02*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/6.0*theta02*theta31*theta32 + (1.0/10.0)*theta02*theta31 - 1.0/120.0*theta02*std::pow(theta32, 4) + (1.0/24.0)*theta02*std::pow(theta32, 3) - 1.0/12.0*theta02*std::pow(theta32, 2) + (1.0/12.0)*theta02*theta32 - 1.0/30.0*theta02 + (1.0/30.0)*std::pow(theta31, 3)*theta32 + (1.0/40.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/8.0*std::pow(theta31, 2)*theta32 + (1.0/60.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/6.0)*theta31*theta32 + (1.0/120.0)*std::pow(theta32, 4) - 1.0/24.0*std::pow(theta32, 3) + (1.0/12.0)*std::pow(theta32, 2) - 1.0/12.0*theta32)/(phi1 - phi3) - 1.0*(-1.0/120.0*theta01*std::pow(theta31, 4) + (1.0/30.0)*theta01*std::pow(theta31, 3) - 1.0/20.0*theta01*std::pow(theta31, 2) + (1.0/30.0)*theta01*theta31 - 1.0/120.0*theta01 - 1.0/120.0*std::pow(theta31, 4)*theta32 + (1.0/120.0)*std::pow(theta31, 4) - 1.0/120.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*std::pow(theta31, 3)*theta32 - 1.0/30.0*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 + (1.0/20.0)*std::pow(theta31, 2) - 1.0/120.0*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta31*theta32 - 1.0/30.0*theta31)/(-phi0 + phi2) - 1.0*(-1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/30.0)*theta02*std::pow(theta31, 3) - 1.0/20.0*theta02*std::pow(theta31, 2) + (1.0/30.0)*theta02*theta31 - 1.0/120.0*theta02)/(-phi0 + phi1);
84  b_H[4] = (1.0/24.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
85  b_ImH[4] = 1.0/24.0 - 1.0/24.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
86  b_D[4] = -0.041666666666666664*std::pow(theta02, 2)*(theta31 - 1)/(-phi0 + phi1) - 0.041666666666666664*theta31*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/24.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(theta01 - 1) - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 2) + 12*theta02*theta31 - 6*theta02 + (2*theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
87  b_H[5] = (1.0/120.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
88  b_ImH[5] = 1.0/120.0 - 1.0/120.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
89  b_D[5] = -0.0083333333333333332*std::pow(theta02, 2)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0083333333333333332*theta31*(std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*theta31*theta32 - theta02*theta31 + 6*theta02*std::pow(theta32, 2) - 10*theta02*theta32 + 3*theta02 - 2*theta31*theta32 - 6*std::pow(theta32, 2) + 8*theta32)/(phi2 - phi3) - 0.0083333333333333332*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 2)*theta31*theta32 + std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 2) - theta02*theta31*std::pow(theta32, 2) + theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 5*theta02*std::pow(theta32, 2) - 3*theta02*theta32 + theta31*std::pow(theta32, 2) - theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - theta31 + 2*std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-4*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*theta31 - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 6*theta02*std::pow(theta31, 2) - 12*theta02*theta31 + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2)) + (2*theta02*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + 2*theta02*std::pow(theta32, 2) - 6*theta02*theta32 + 4*theta02 + theta31*std::pow(theta32, 2) - theta31*theta32 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
90  b_H[6] = (1.0/360.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
91  b_ImH[6] = 1.0/360.0 - 1.0/360.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
92  b_D[6] = -0.0027777777777777779*std::pow(theta02, 2)*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.0027777777777777779*theta31*(std::pow(theta02, 2)*std::pow(theta31, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 4*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 8*std::pow(theta02, 2)*theta32 + 6*std::pow(theta02, 2) + 2*theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + 6*theta02*theta31*std::pow(theta32, 2) - 12*theta02*theta31*theta32 + 4*theta02*theta31 + 12*theta02*std::pow(theta32, 3) - 33*theta02*std::pow(theta32, 2) + 28*theta02*theta32 - 6*theta02 - 2*std::pow(theta31, 2)*theta32 - 6*theta31*std::pow(theta32, 2) + 10*theta31*theta32 - 12*std::pow(theta32, 3) + 30*std::pow(theta32, 2) - 20*theta32)/(phi2 - phi3) - 0.0027777777777777779*(-6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 18*std::pow(theta02, 2)*theta31 - 9*std::pow(theta02, 2) - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) + theta31*(2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 + 3*std::pow(theta02, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 6*theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 2*theta31*std::pow(theta32, 2) + 2*theta31 - 2*std::pow(theta32, 3) + 5*std::pow(theta32, 2) - 3) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2) + 8*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 3) + 18*theta02*std::pow(theta31, 2) - 18*theta02*theta31 + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3)) + (2*theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(2*theta02*std::pow(theta31, 2)*theta32 - 2*theta02*std::pow(theta31, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 8*theta02*theta31*theta32 + 6*theta02*theta31 + 2*theta02*std::pow(theta32, 3) - 8*theta02*std::pow(theta32, 2) + 12*theta02*theta32 - 6*theta02 + std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta31, 2)*theta32 + 2*theta31*std::pow(theta32, 3) - 6*theta31*std::pow(theta32, 2) + 4*theta31*theta32 + 3*std::pow(theta32, 4) - 11*std::pow(theta32, 3) + 14*std::pow(theta32, 2) - 6*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
93  b_H[7] = (1.0/60.0)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
94  b_ImH[7] = 1.0/60.0 - 1.0/60.0*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
95  b_D[7] = -0.016666666666666666*std::pow(theta02, 3)*(theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/60.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 5) - 8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(theta01 - 1) - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4)*std::pow(theta31, 2) - 20*std::pow(theta02, 4)*theta31 + 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (3*std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
96  b_H[8] = (1.0/360.0)*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
97  b_ImH[8] = 1.0/360.0 - 1.0/360.0*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
98  b_D[8] = -0.0027777777777777779*std::pow(theta02, 3)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0027777777777777779*theta31*(std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta32 + 3*std::pow(theta02, 2) + 3*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 12*theta02*std::pow(theta32, 3) - 21*theta02*std::pow(theta32, 2) + 8*theta02*theta32 - 3*theta31*std::pow(theta32, 2) - 12*std::pow(theta32, 3) + 15*std::pow(theta32, 2))/(phi2 - phi3) - 0.0027777777777777779*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5) + 8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 3)*theta31*theta32 + std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 5*std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 - theta02*theta31*std::pow(theta32, 3) + theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 7*theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + theta31*std::pow(theta32, 3) - theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - theta31 + 3*std::pow(theta32, 4) - 5*std::pow(theta32, 3) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(-4*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 10*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 10*std::pow(theta02, 4)*std::pow(theta31, 2) + 20*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 20*std::pow(theta02, 4)*theta31 - 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 10*std::pow(theta02, 4) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) - 32*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2)) + (3*std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(3*std::pow(theta02, 2)*theta31*theta32 - 3*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 9*std::pow(theta02, 2)*theta32 + 6*std::pow(theta02, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 4*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) + 6*theta02*theta32 + theta31*std::pow(theta32, 3) - theta31*std::pow(theta32, 2) + 3*std::pow(theta32, 4) - 7*std::pow(theta32, 3) + 4*std::pow(theta32, 2)))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
99  b_H[9] = (1.0/120.0)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
100  b_ImH[9] = 1.0/120.0 - 1.0/120.0*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
101  b_D[9] = -0.0083333333333333332*std::pow(theta02, 4)*(theta31 - 1)/(-phi0 + phi1) - 0.0083333333333333332*theta31*(std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 2*std::pow(theta02, 2)*theta32 + 4*theta02*std::pow(theta32, 3) - 3*theta02*std::pow(theta32, 2) - 4*std::pow(theta32, 3))/(phi2 - phi3) - 1.0*((1.0/120.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/120.0)*(4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 6) - 6*std::pow(theta02, 4)*theta31 + 6*std::pow(theta02, 4) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 4)*theta32 + std::pow(theta02, 4)*(theta01 - 1) - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/120.0)*(4*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 5)*std::pow(theta31, 2) - 24*std::pow(theta02, 5)*theta31 + 12*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 5) - 12*std::pow(theta02, 3)*std::pow(theta31, 2) + 24*std::pow(theta02, 3)*theta31 - 12*std::pow(theta02, 3) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (4*std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(4*std::pow(theta02, 3)*theta32 - 4*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*theta02*std::pow(theta32, 3) - 2*theta02*std::pow(theta32, 2) + std::pow(theta32, 4) - std::pow(theta32, 3)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
102  b_H[10] = (1.0/24.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/24.0*std::pow(theta01, 2)*theta02 + (1.0/24.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/24.0*theta01*theta02*theta31 + (1.0/24.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/24.0*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2)*theta32 + 1.0/24.0;
103  b_ImH[10] = -1.0/24.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/24.0)*std::pow(theta01, 2)*theta02 - 1.0/24.0*theta01*theta02*std::pow(theta31, 2) + (1.0/24.0)*theta01*theta02*theta31 - 1.0/24.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 2) + (1.0/24.0)*std::pow(theta31, 2)*theta32;
104  b_D[10] = -1.0*((1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta02 + (1.0/12.0)*theta01*theta02*theta31 - 1.0/24.0*theta01*theta02 + (1.0/12.0)*theta02*theta31*theta32 - 1.0/12.0*theta02*theta31 - 1.0/12.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta31 - 1.0/24.0*std::pow(theta01, 2) + (1.0/24.0)*theta01*std::pow(theta31, 2) - 1.0/24.0*theta01*theta31 + (1.0/24.0)*std::pow(theta31, 2)*theta32 - 1.0/24.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/12.0)*theta01*theta02*theta31 - 1.0/12.0*theta01*theta02 + (1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*theta02*theta31)/(-phi0 + phi1);
105  b_H[11] = (1.0/120.0)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
106  b_ImH[11] = 1.0/120.0 - 1.0/120.0*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
107  b_D[11] = 0.0083333333333333332*theta02*(2*theta01*std::pow(theta31, 2) - 4*theta01*theta31 + 2*theta01 + 2*std::pow(theta31, 3) - 4*std::pow(theta31, 2) + 2*theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(-2*theta02*theta31 - 2*theta02*theta32 + 4*theta02 + 2*theta31 + 2*theta32 - 4)/(phi2 - phi3) - 0.0083333333333333332*(24*std::pow(theta02, 4)*std::pow(theta31, 2) - 24*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2) + 12*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 24*std::pow(theta02, 2)*std::pow(theta31, 2) - 24*std::pow(theta02, 2)*theta31 - 6*theta02*std::pow(theta31, 2) + 6*theta02*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 2)*theta31 - 2*std::pow(theta01, 2) + 6*theta01*std::pow(theta31, 2) - 8*theta01*theta31 + 2*theta01 - 6*std::pow(theta31, 2) + 6*theta31) + std::pow(theta31, 2)*(-2*theta02*theta32 + 2*theta02 + 2*theta32 - 2) + 2*theta31*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 32*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 18*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 18*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 16*theta02*std::pow(theta31, 3) - 24*theta02*std::pow(theta31, 2) + 8*theta02 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) + std::pow(theta31, 2)*(-2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*std::pow(theta31, 2) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
108  b_H[12] = (1.0/360.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/360.0*std::pow(theta01, 2)*theta02 + (1.0/120.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/40.0*theta01*theta02*std::pow(theta31, 3) + (1.0/40.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/120.0*theta01*theta02*theta31 + (1.0/120.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/180.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/45.0)*theta02*std::pow(theta31, 3) + (1.0/360.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/60.0*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta31, 4)*theta32 - 1.0/180.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 3)*theta32 - 1.0/360.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/72.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 2)*theta32 + 1.0/360.0;
109  b_ImH[12] = -1.0/360.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) + (1.0/120.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/360.0)*std::pow(theta01, 2)*theta02 - 1.0/120.0*theta01*theta02*std::pow(theta31, 4) + (1.0/40.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/40.0*theta01*theta02*std::pow(theta31, 2) + (1.0/120.0)*theta01*theta02*theta31 - 1.0/120.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/180.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/36.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/45.0*theta02*std::pow(theta31, 3) - 1.0/360.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/72.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/60.0)*theta02*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta31, 4)*theta32 + (1.0/180.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 3)*theta32 + (1.0/360.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32;
110  b_D[12] = -1.0*((1.0/120.0)*theta02*std::pow(theta31, 4) + (1.0/90.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/36.0*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/36.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta31, 4) - 1.0/90.0*std::pow(theta31, 3)*theta32 + (1.0/36.0)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32 - 1.0/36.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/120.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/120.0)*std::pow(theta01, 2)*theta02 + (1.0/30.0)*theta01*theta02*std::pow(theta31, 3) - 3.0/40.0*theta01*theta02*std::pow(theta31, 2) + (1.0/20.0)*theta01*theta02*theta31 - 1.0/120.0*theta01*theta02 + (1.0/30.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/30.0*theta02*std::pow(theta31, 3) + (1.0/60.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/15.0)*theta02*std::pow(theta31, 2) + (1.0/180.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/36.0*theta02*theta31*std::pow(theta32, 2) + (1.0/18.0)*theta02*theta31*theta32 - 1.0/30.0*theta02*theta31 - 1.0/30.0*std::pow(theta31, 3)*theta32 - 1.0/60.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*std::pow(theta31, 2)*theta32 - 1.0/180.0*theta31*std::pow(theta32, 3) + (1.0/36.0)*theta31*std::pow(theta32, 2) - 1.0/18.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/360.0)*std::pow(theta01, 2)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta01, 2)*theta31 - 1.0/360.0*std::pow(theta01, 2) + (1.0/120.0)*theta01*std::pow(theta31, 4) - 1.0/40.0*theta01*std::pow(theta31, 3) + (1.0/40.0)*theta01*std::pow(theta31, 2) - 1.0/120.0*theta01*theta31 + (1.0/120.0)*std::pow(theta31, 4)*theta32 - 1.0/120.0*std::pow(theta31, 4) + (1.0/180.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 3)*theta32 + (1.0/45.0)*std::pow(theta31, 3) + (1.0/360.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32 - 1.0/60.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/180.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/60.0*theta01*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta01*theta02*theta31 - 1.0/180.0*theta01*theta02 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/40.0*theta02*std::pow(theta31, 3) + (1.0/40.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*theta02*theta31)/(-phi0 + phi1);
111  b_H[13] = (1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/120.0*std::pow(theta02, 2) + (1.0/120.0)*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/120.0*std::pow(theta31, 2) + 1.0/120.0;
112  b_ImH[13] = -1.0/120.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/120.0)*std::pow(theta02, 2) - 1.0/120.0*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/120.0)*std::pow(theta31, 2);
113  b_D[13] = -0.0083333333333333332*std::pow(theta02, 2)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta02, 2)*theta31 + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/60.0)*theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/60.0*theta31)/(phi1 - phi3) - 1.0*((1.0/60.0)*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/60.0*theta02 + (1.0/120.0)*std::pow(theta31, 2)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
114  b_H[14] = (1.0/720.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
115  b_ImH[14] = 1.0/720.0 - 1.0/720.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
116  b_D[14] = -0.0013888888888888889*std::pow(theta02, 2)*(-2*theta01*std::pow(theta31, 2) + 4*theta01*theta31 - 2*theta01 - 2*std::pow(theta31, 3) + 4*std::pow(theta31, 2) - 2*theta31)/(-phi0 + phi1) - 0.0013888888888888889*std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31 - 2*std::pow(theta02, 2)*theta32 + 4*std::pow(theta02, 2) - 4*theta02*theta31*theta32 + 2*theta02*theta31 - 6*theta02*std::pow(theta32, 2) + 12*theta02*theta32 - 4*theta02 + 4*theta31*theta32 + 6*std::pow(theta32, 2) - 10*theta32)/(phi2 - phi3) - 0.0013888888888888889*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 12*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 18*std::pow(theta02, 2)*std::pow(theta31, 2) - 18*std::pow(theta02, 2)*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 2)*(-2*std::pow(theta01, 2)*theta31 + 2*std::pow(theta01, 2) - 6*theta01*std::pow(theta31, 2) + 8*theta01*theta31 - 2*theta01 + 6*std::pow(theta31, 2) - 6*theta31) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) - 2*theta02*std::pow(theta32, 2) + 2*theta02*theta32 + 2*std::pow(theta32, 2) - 2) + 2*theta31*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/720.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/720.0)*(-8*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 3*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 2) - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 12*theta02*std::pow(theta31, 3) - 18*theta02*std::pow(theta31, 2) + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3)) + (2*theta02*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - 2*theta02*std::pow(theta32, 2) + 8*theta02*theta32 - 6*theta02 - 2*theta31*std::pow(theta32, 2) + 2*theta31*theta32 - 2*std::pow(theta32, 3) + 6*std::pow(theta32, 2) - 4*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
117  b_H[15] = (1.0/360.0)*std::pow(theta02, 3)*std::pow(theta31, 2) + (1.0/360.0)*std::pow(theta02, 3)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/360.0*std::pow(theta02, 3) + (1.0/360.0)*std::pow(theta31, 2)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/360.0*std::pow(theta31, 2) + 1.0/360.0;
118  b_ImH[15] = -1.0/360.0*std::pow(theta02, 3)*std::pow(theta31, 2) - 1.0/360.0*std::pow(theta02, 3)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/360.0)*std::pow(theta02, 3) - 1.0/360.0*std::pow(theta31, 2)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + (1.0/360.0)*std::pow(theta31, 2);
119  b_D[15] = -0.0027777777777777779*std::pow(theta02, 3)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 2)*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/180.0)*std::pow(theta02, 3)*theta31 + (1.0/360.0)*std::pow(theta02, 3)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/180.0)*theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/180.0*theta31)/(phi1 - phi3) - 1.0*((1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/120.0*std::pow(theta02, 2) + (1.0/360.0)*std::pow(theta31, 2)*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))/(-phi0 + phi2);
120  b_H[16] = (1.0/60.0)*std::pow(theta01, 3)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 3)*theta02 + (1.0/60.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/60.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/60.0*theta01*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/60.0*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3)*theta32 + 1.0/60.0;
121  b_ImH[16] = -1.0/60.0*std::pow(theta01, 3)*theta02*theta31 + (1.0/60.0)*std::pow(theta01, 3)*theta02 - 1.0/60.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*theta01*theta02*std::pow(theta31, 3) + (1.0/60.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/60.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/60.0)*theta02*std::pow(theta31, 3) + (1.0/60.0)*std::pow(theta31, 3)*theta32;
122  b_D[16] = -1.0*((1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3))/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta02 + (1.0/30.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 2)*theta02 + (1.0/20.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/20.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/20.0*theta02*std::pow(theta31, 2) - 1.0/20.0*std::pow(theta31, 2)*theta32)/(phi1 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta31 - 1.0/60.0*std::pow(theta01, 3) + (1.0/60.0)*std::pow(theta01, 2)*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta31 + (1.0/60.0)*theta01*std::pow(theta31, 3) - 1.0/60.0*theta01*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta31, 3)*theta32 - 1.0/60.0*std::pow(theta31, 3))/(-phi0 + phi2) - 1.0*((1.0/20.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/20.0*std::pow(theta01, 2)*theta02 + (1.0/30.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*theta02*std::pow(theta31, 2))/(-phi0 + phi1);
123  b_H[17] = (1.0/360.0)*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
124  b_ImH[17] = 1.0/360.0 - 1.0/360.0*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
125  b_D[17] = 0.0027777777777777779*theta02*(3*std::pow(theta01, 2)*std::pow(theta31, 2) - 6*std::pow(theta01, 2)*theta31 + 3*std::pow(theta01, 2) + 4*theta01*std::pow(theta31, 3) - 8*theta01*std::pow(theta31, 2) + 4*theta01*theta31 + 3*std::pow(theta31, 4) - 6*std::pow(theta31, 3) + 3*std::pow(theta31, 2))/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 3)*(-3*theta02*theta31 - 2*theta02*theta32 + 5*theta02 + 3*theta31 + 2*theta32 - 5)/(phi2 - phi3) - 0.0027777777777777779*(48*std::pow(theta02, 4)*std::pow(theta31, 3) - 48*std::pow(theta02, 4)*std::pow(theta31, 2) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 48*std::pow(theta02, 2)*std::pow(theta31, 3) - 48*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*theta02*std::pow(theta31, 3) + 12*theta02*std::pow(theta31, 2) + 12*std::pow(theta31, 3) - 12*std::pow(theta31, 2) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 3)*theta31 - 2*std::pow(theta01, 3) + 6*std::pow(theta01, 2)*std::pow(theta31, 2) - 8*std::pow(theta01, 2)*theta31 + 2*std::pow(theta01, 2) + 12*theta01*std::pow(theta31, 3) - 18*theta01*std::pow(theta31, 2) + 6*theta01*theta31 - 12*std::pow(theta31, 3) + 12*std::pow(theta31, 2)) + std::pow(theta31, 3)*(-3*theta02*theta32 + 3*theta02 + 3*theta32 - 3) + 3*std::pow(theta31, 2)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(-12*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 16*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 3*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 48*std::pow(theta02, 3)*std::pow(theta31, 4) + 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 64*std::pow(theta02, 3)*std::pow(theta31, 3) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 18*std::pow(theta02, 2)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 18*std::pow(theta02, 2)*std::pow(theta31, 4) + 24*std::pow(theta02, 2)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 2)*std::pow(theta31, 3) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 24*theta02*std::pow(theta31, 4) - 32*theta02*std::pow(theta31, 3) + 8*theta02 - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) + std::pow(theta31, 3)*(-3*theta31*theta32 + 3*theta31 - std::pow(theta32, 2) + 5*theta32 - 4) - 4*std::pow(theta31, 3) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
126  b_H[18] = (1.0/360.0)*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/360.0)*std::pow(theta02, 2)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/360.0*std::pow(theta02, 2) + (1.0/360.0)*std::pow(theta31, 3)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/360.0*std::pow(theta31, 3) + 1.0/360.0;
127  b_ImH[18] = -1.0/360.0*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/360.0*std::pow(theta02, 2)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) + (1.0/360.0)*std::pow(theta02, 2) - 1.0/360.0*std::pow(theta31, 3)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/360.0)*std::pow(theta31, 3);
128  b_D[18] = -0.0027777777777777779*std::pow(theta02, 2)*(3*std::pow(theta01, 2)*theta31 - 3*std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + std::pow(theta31, 3) - std::pow(theta31, 2))/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 3)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/360.0)*std::pow(theta02, 2)*(std::pow(theta01, 3) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 2) - 2*theta01*theta31 - 3*std::pow(theta31, 2)) + (1.0/120.0)*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/120.0*std::pow(theta31, 2))/(phi1 - phi3) - 1.0*((1.0/180.0)*theta02*std::pow(theta31, 3) + (1.0/180.0)*theta02*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/180.0*theta02 + (1.0/360.0)*std::pow(theta31, 3)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
129  b_H[19] = (1.0/120.0)*theta02*std::pow(theta31, 4) + (1.0/120.0)*theta02*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) - 1.0/120.0*theta02 + (1.0/120.0)*std::pow(theta31, 4)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/120.0*std::pow(theta31, 4) + 1.0/120.0;
130  b_ImH[19] = -1.0/120.0*theta02*std::pow(theta31, 4) - 1.0/120.0*theta02*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) + (1.0/120.0)*theta02 - 1.0/120.0*std::pow(theta31, 4)*(theta02*theta32 - theta02 - theta32 + 1) + (1.0/120.0)*std::pow(theta31, 4);
131  b_D[19] = -0.0083333333333333332*theta02*(4*std::pow(theta01, 3)*theta31 - 4*std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 3*std::pow(theta01, 2)*theta31 + 2*theta01*std::pow(theta31, 3) - 2*theta01*std::pow(theta31, 2) + std::pow(theta31, 4) - std::pow(theta31, 3))/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 4)*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/30.0)*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*(std::pow(theta01, 4) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + 4*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) - 4*std::pow(theta31, 3)) + (1.0/30.0)*std::pow(theta31, 3)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/30.0*std::pow(theta31, 3))/(phi1 - phi3) - 1.0*((1.0/120.0)*std::pow(theta01, 4)*theta31 - 1.0/120.0*std::pow(theta01, 4) + (1.0/120.0)*std::pow(theta01, 3)*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta01, 3)*theta31 + (1.0/120.0)*std::pow(theta01, 2)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*std::pow(theta31, 2) + (1.0/120.0)*theta01*std::pow(theta31, 4) - 1.0/120.0*theta01*std::pow(theta31, 3) + (1.0/120.0)*std::pow(theta31, 4)*(theta32 - 1))/(-phi0 + phi2);
132  }
133 
134  template<>
135 inline void _calculate_b<4>(double theta01, double theta02, double theta31, double theta32,
136  double phi0, double phi1, double phi2, double phi3,
137  double* b_H, double* b_ImH, double* b_D)
138  {
139  b_H[0] = (1.0/6.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
140  b_ImH[0] = 1.0/6.0 - 1.0/6.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
141  b_D[0] = -0.16666666666666666*theta02*(theta31 - 1)/(-phi0 + phi1) - 0.16666666666666666*theta31*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/6.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(-8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) + 2*theta02*theta31 - 2*theta02 - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (theta02*theta32 + theta02*(theta01 - 1) - theta02 - theta32 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/6.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 2) - 4*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 2) - 2*theta02*theta31 + theta02 - std::pow(theta31, 2) + 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/6.0)*(4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + std::pow(theta31, 2) - 2*theta31 + (theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(theta02*theta32 - theta02 - theta32 + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02) + (theta01*theta31 - theta01 + theta31*(theta32 - 1) - theta31 + 1)*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
142  b_H[1] = (1.0/24.0)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
143  b_ImH[1] = 1.0/24.0 - 1.0/24.0*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
144  b_D[1] = 0.041666666666666664*theta02*(std::pow(theta31, 2) - 2*theta31 + 1)/(-phi0 + phi1) + 0.041666666666666664*theta31*(theta02*theta31 + 2*theta02*theta32 - 3*theta02 - theta31 - 2*theta32 + 3)/(phi2 - phi3) - 0.041666666666666664*(8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) - 2*theta02*theta31 + 2*theta02 + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*theta31*theta32 + theta02*theta31 - theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta02*(2*theta01*theta31 - 2*theta01 - 2*theta31 + 2) - 2*theta02 + theta31*theta32 - theta31*(theta02*theta32 - theta02 - theta32 + 1) - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 2) + 4*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - theta02*std::pow(theta31, 2) + 2*theta02*theta31 - theta02 + std::pow(theta31, 2) - 2*theta31 - (theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) + theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 32*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 6*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2)*std::pow(theta31, 2) + 12*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 - std::pow(theta31, 2) + 2*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(theta01*std::pow(theta31, 2) - 2*theta01*theta31 + theta01 - std::pow(theta31, 2) + 2*theta31 - 1) - theta31*(theta02*theta31*theta32 - theta02*theta31 + theta02*std::pow(theta32, 2) - 3*theta02*theta32 + 2*theta02 - theta31*theta32 + theta31 - std::pow(theta32, 2) + 3*theta32 - 2)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - theta31*(theta31*theta32 - theta31 + std::pow(theta32, 2) - 3*theta32 + 2) - 2*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
145  b_H[2] = (1.0/60.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
146  b_ImH[2] = 1.0/60.0 - 1.0/60.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
147  b_D[2] = -0.016666666666666666*theta02*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(theta02*std::pow(theta31, 2) + 2*theta02*theta31*theta32 - 4*theta02*theta31 + 3*theta02*std::pow(theta32, 2) - 8*theta02*theta32 + 6*theta02 - std::pow(theta31, 2) - 2*theta31*theta32 + 4*theta31 - 3*std::pow(theta32, 2) + 8*theta32 - 6)/(phi2 - phi3) - 0.016666666666666666*(-12*std::pow(theta02, 4)*std::pow(theta31, 2) + 24*std::pow(theta02, 4)*theta31 - 12*std::pow(theta02, 4) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 24*std::pow(theta02, 2)*theta31 - 12*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2) - 6*theta02*theta31 + 3*theta02 - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 + theta02*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 + theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 3*theta02 - 2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*std::pow(theta31, 3) - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + theta02*std::pow(theta31, 3) - 3*theta02*std::pow(theta31, 2) + 3*theta02*theta31 - theta02 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 48*std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 18*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 18*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 6*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 3) + 24*theta02*std::pow(theta31, 2) - 24*theta02*theta31 + 8*theta02 + std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 + (16*std::pow(theta02, 3) + 8*theta02)*(theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + theta02*theta31*std::pow(theta32, 2) - 4*theta02*theta31*theta32 + 3*theta02*theta31 + theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 3*theta02 - std::pow(theta31, 2)*theta32 + std::pow(theta31, 2) - theta31*std::pow(theta32, 2) + 4*theta31*theta32 - 3*theta31 - std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 6*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) + theta31*(std::pow(theta31, 2)*theta32 - std::pow(theta31, 2) + theta31*std::pow(theta32, 2) - 4*theta31*theta32 + 3*theta31 + std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 6*theta32 - 3) - 3*theta31 + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
148  b_H[3] = -1.0/120.0*theta01*theta02*std::pow(theta31, 4) + (1.0/30.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/20.0*theta01*theta02*std::pow(theta31, 2) + (1.0/30.0)*theta01*theta02*theta31 - 1.0/120.0*theta01*theta02 - 1.0/120.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/120.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/30.0*theta02*std::pow(theta31, 3) - 1.0/120.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/20.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*theta02*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/12.0*theta02*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta02*theta31*theta32 - 1.0/30.0*theta02*theta31 + (1.0/120.0)*std::pow(theta31, 4)*theta32 + (1.0/120.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/24.0*std::pow(theta31, 3)*theta32 + (1.0/120.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/24.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*std::pow(theta31, 2)*theta32 + (1.0/120.0)*theta31*std::pow(theta32, 4) - 1.0/24.0*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta31*std::pow(theta32, 2) - 1.0/12.0*theta31*theta32 + 1.0/120.0;
149  b_ImH[3] = (1.0/120.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/30.0*theta01*theta02*std::pow(theta31, 3) + (1.0/20.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/120.0)*theta01*theta02 + (1.0/120.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/120.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/24.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/30.0)*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/24.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/20.0*theta02*std::pow(theta31, 2) + (1.0/120.0)*theta02*theta31*std::pow(theta32, 4) - 1.0/24.0*theta02*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/12.0*theta02*theta31*theta32 + (1.0/30.0)*theta02*theta31 - 1.0/120.0*std::pow(theta31, 4)*theta32 - 1.0/120.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*std::pow(theta31, 3)*theta32 - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 - 1.0/120.0*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta31*theta32;
150  b_D[3] = -1.0*(-1.0/120.0*theta02*std::pow(theta31, 4) - 1.0/60.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 3) - 1.0/40.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/12.0*theta02*std::pow(theta31, 2) - 1.0/30.0*theta02*theta31*std::pow(theta32, 3) + (1.0/8.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/6.0*theta02*theta31*theta32 + (1.0/12.0)*theta02*theta31 + (1.0/120.0)*std::pow(theta31, 4) + (1.0/60.0)*std::pow(theta31, 3)*theta32 - 1.0/24.0*std::pow(theta31, 3) + (1.0/40.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 + (1.0/12.0)*std::pow(theta31, 2) + (1.0/30.0)*theta31*std::pow(theta32, 3) - 1.0/8.0*theta31*std::pow(theta32, 2) + (1.0/6.0)*theta31*theta32 - 1.0/12.0*theta31)/(phi2 - phi3) - 1.0*(-1.0/30.0*theta01*theta02*std::pow(theta31, 3) + (1.0/10.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/10.0*theta01*theta02*theta31 + (1.0/30.0)*theta01*theta02 - 1.0/30.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/30.0)*theta02*std::pow(theta31, 3) - 1.0/40.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/8.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/10.0*theta02*std::pow(theta31, 2) - 1.0/60.0*theta02*theta31*std::pow(theta32, 3) + (1.0/12.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/6.0*theta02*theta31*theta32 + (1.0/10.0)*theta02*theta31 - 1.0/120.0*theta02*std::pow(theta32, 4) + (1.0/24.0)*theta02*std::pow(theta32, 3) - 1.0/12.0*theta02*std::pow(theta32, 2) + (1.0/12.0)*theta02*theta32 - 1.0/30.0*theta02 + (1.0/30.0)*std::pow(theta31, 3)*theta32 + (1.0/40.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/8.0*std::pow(theta31, 2)*theta32 + (1.0/60.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/6.0)*theta31*theta32 + (1.0/120.0)*std::pow(theta32, 4) - 1.0/24.0*std::pow(theta32, 3) + (1.0/12.0)*std::pow(theta32, 2) - 1.0/12.0*theta32)/(phi1 - phi3) - 1.0*(-1.0/120.0*theta01*std::pow(theta31, 4) + (1.0/30.0)*theta01*std::pow(theta31, 3) - 1.0/20.0*theta01*std::pow(theta31, 2) + (1.0/30.0)*theta01*theta31 - 1.0/120.0*theta01 - 1.0/120.0*std::pow(theta31, 4)*theta32 + (1.0/120.0)*std::pow(theta31, 4) - 1.0/120.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/24.0)*std::pow(theta31, 3)*theta32 - 1.0/30.0*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/24.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*std::pow(theta31, 2)*theta32 + (1.0/20.0)*std::pow(theta31, 2) - 1.0/120.0*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta31*std::pow(theta32, 3) - 1.0/12.0*theta31*std::pow(theta32, 2) + (1.0/12.0)*theta31*theta32 - 1.0/30.0*theta31)/(-phi0 + phi2) - 1.0*(-1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/30.0)*theta02*std::pow(theta31, 3) - 1.0/20.0*theta02*std::pow(theta31, 2) + (1.0/30.0)*theta02*theta31 - 1.0/120.0*theta02)/(-phi0 + phi1);
151  b_H[4] = (1.0/210.0)*theta01*theta02*std::pow(theta31, 5) - 1.0/42.0*theta01*theta02*std::pow(theta31, 4) + (1.0/21.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/21.0*theta01*theta02*std::pow(theta31, 2) + (1.0/42.0)*theta01*theta02*theta31 - 1.0/210.0*theta01*theta02 + (1.0/210.0)*theta02*std::pow(theta31, 5)*theta32 - 1.0/210.0*theta02*std::pow(theta31, 5) + (1.0/210.0)*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/35.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/42.0)*theta02*std::pow(theta31, 4) + (1.0/210.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/35.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/14.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/21.0*theta02*std::pow(theta31, 3) + (1.0/210.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/35.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/14.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 2.0/21.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/21.0)*theta02*std::pow(theta31, 2) + (1.0/210.0)*theta02*theta31*std::pow(theta32, 5) - 1.0/35.0*theta02*theta31*std::pow(theta32, 4) + (1.0/14.0)*theta02*theta31*std::pow(theta32, 3) - 2.0/21.0*theta02*theta31*std::pow(theta32, 2) + (1.0/14.0)*theta02*theta31*theta32 - 1.0/42.0*theta02*theta31 - 1.0/210.0*std::pow(theta31, 5)*theta32 - 1.0/210.0*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/35.0)*std::pow(theta31, 4)*theta32 - 1.0/210.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/35.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/14.0*std::pow(theta31, 3)*theta32 - 1.0/210.0*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/35.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/14.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (2.0/21.0)*std::pow(theta31, 2)*theta32 - 1.0/210.0*theta31*std::pow(theta32, 5) + (1.0/35.0)*theta31*std::pow(theta32, 4) - 1.0/14.0*theta31*std::pow(theta32, 3) + (2.0/21.0)*theta31*std::pow(theta32, 2) - 1.0/14.0*theta31*theta32 + 1.0/210.0;
152  b_ImH[4] = -1.0/210.0*theta01*theta02*std::pow(theta31, 5) + (1.0/42.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/21.0*theta01*theta02*std::pow(theta31, 3) + (1.0/21.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/42.0*theta01*theta02*theta31 + (1.0/210.0)*theta01*theta02 - 1.0/210.0*theta02*std::pow(theta31, 5)*theta32 + (1.0/210.0)*theta02*std::pow(theta31, 5) - 1.0/210.0*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/35.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/42.0*theta02*std::pow(theta31, 4) - 1.0/210.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/35.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/14.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/21.0)*theta02*std::pow(theta31, 3) - 1.0/210.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/35.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/14.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (2.0/21.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/21.0*theta02*std::pow(theta31, 2) - 1.0/210.0*theta02*theta31*std::pow(theta32, 5) + (1.0/35.0)*theta02*theta31*std::pow(theta32, 4) - 1.0/14.0*theta02*theta31*std::pow(theta32, 3) + (2.0/21.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/14.0*theta02*theta31*theta32 + (1.0/42.0)*theta02*theta31 + (1.0/210.0)*std::pow(theta31, 5)*theta32 + (1.0/210.0)*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/35.0*std::pow(theta31, 4)*theta32 + (1.0/210.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/35.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/14.0)*std::pow(theta31, 3)*theta32 + (1.0/210.0)*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/35.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/14.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 2.0/21.0*std::pow(theta31, 2)*theta32 + (1.0/210.0)*theta31*std::pow(theta32, 5) - 1.0/35.0*theta31*std::pow(theta32, 4) + (1.0/14.0)*theta31*std::pow(theta32, 3) - 2.0/21.0*theta31*std::pow(theta32, 2) + (1.0/14.0)*theta31*theta32;
153  b_D[4] = -1.0*((1.0/210.0)*theta02*std::pow(theta31, 5) + (1.0/105.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/35.0*theta02*std::pow(theta31, 4) + (1.0/70.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 2.0/35.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/14.0)*theta02*std::pow(theta31, 3) + (2.0/105.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/35.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/7.0)*theta02*std::pow(theta31, 2)*theta32 - 2.0/21.0*theta02*std::pow(theta31, 2) + (1.0/42.0)*theta02*theta31*std::pow(theta32, 4) - 4.0/35.0*theta02*theta31*std::pow(theta32, 3) + (3.0/14.0)*theta02*theta31*std::pow(theta32, 2) - 4.0/21.0*theta02*theta31*theta32 + (1.0/14.0)*theta02*theta31 - 1.0/210.0*std::pow(theta31, 5) - 1.0/105.0*std::pow(theta31, 4)*theta32 + (1.0/35.0)*std::pow(theta31, 4) - 1.0/70.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (2.0/35.0)*std::pow(theta31, 3)*theta32 - 1.0/14.0*std::pow(theta31, 3) - 2.0/105.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (3.0/35.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/7.0*std::pow(theta31, 2)*theta32 + (2.0/21.0)*std::pow(theta31, 2) - 1.0/42.0*theta31*std::pow(theta32, 4) + (4.0/35.0)*theta31*std::pow(theta32, 3) - 3.0/14.0*theta31*std::pow(theta32, 2) + (4.0/21.0)*theta31*theta32 - 1.0/14.0*theta31)/(phi2 - phi3) - 1.0*((1.0/42.0)*theta01*theta02*std::pow(theta31, 4) - 2.0/21.0*theta01*theta02*std::pow(theta31, 3) + (1.0/7.0)*theta01*theta02*std::pow(theta31, 2) - 2.0/21.0*theta01*theta02*theta31 + (1.0/42.0)*theta01*theta02 + (1.0/42.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/42.0*theta02*std::pow(theta31, 4) + (2.0/105.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 4.0/35.0*theta02*std::pow(theta31, 3)*theta32 + (2.0/21.0)*theta02*std::pow(theta31, 3) + (1.0/70.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/35.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (3.0/14.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/7.0*theta02*std::pow(theta31, 2) + (1.0/105.0)*theta02*theta31*std::pow(theta32, 4) - 2.0/35.0*theta02*theta31*std::pow(theta32, 3) + (1.0/7.0)*theta02*theta31*std::pow(theta32, 2) - 4.0/21.0*theta02*theta31*theta32 + (2.0/21.0)*theta02*theta31 + (1.0/210.0)*theta02*std::pow(theta32, 5) - 1.0/35.0*theta02*std::pow(theta32, 4) + (1.0/14.0)*theta02*std::pow(theta32, 3) - 2.0/21.0*theta02*std::pow(theta32, 2) + (1.0/14.0)*theta02*theta32 - 1.0/42.0*theta02 - 1.0/42.0*std::pow(theta31, 4)*theta32 - 2.0/105.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (4.0/35.0)*std::pow(theta31, 3)*theta32 - 1.0/70.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (3.0/35.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 3.0/14.0*std::pow(theta31, 2)*theta32 - 1.0/105.0*theta31*std::pow(theta32, 4) + (2.0/35.0)*theta31*std::pow(theta32, 3) - 1.0/7.0*theta31*std::pow(theta32, 2) + (4.0/21.0)*theta31*theta32 - 1.0/210.0*std::pow(theta32, 5) + (1.0/35.0)*std::pow(theta32, 4) - 1.0/14.0*std::pow(theta32, 3) + (2.0/21.0)*std::pow(theta32, 2) - 1.0/14.0*theta32)/(phi1 - phi3) - 1.0*((1.0/210.0)*theta01*std::pow(theta31, 5) - 1.0/42.0*theta01*std::pow(theta31, 4) + (1.0/21.0)*theta01*std::pow(theta31, 3) - 1.0/21.0*theta01*std::pow(theta31, 2) + (1.0/42.0)*theta01*theta31 - 1.0/210.0*theta01 + (1.0/210.0)*std::pow(theta31, 5)*theta32 - 1.0/210.0*std::pow(theta31, 5) + (1.0/210.0)*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/35.0*std::pow(theta31, 4)*theta32 + (1.0/42.0)*std::pow(theta31, 4) + (1.0/210.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/35.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/14.0)*std::pow(theta31, 3)*theta32 - 1.0/21.0*std::pow(theta31, 3) + (1.0/210.0)*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/35.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/14.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 2.0/21.0*std::pow(theta31, 2)*theta32 + (1.0/21.0)*std::pow(theta31, 2) + (1.0/210.0)*theta31*std::pow(theta32, 5) - 1.0/35.0*theta31*std::pow(theta32, 4) + (1.0/14.0)*theta31*std::pow(theta32, 3) - 2.0/21.0*theta31*std::pow(theta32, 2) + (1.0/14.0)*theta31*theta32 - 1.0/42.0*theta31)/(-phi0 + phi2) - 1.0*((1.0/210.0)*theta02*std::pow(theta31, 5) - 1.0/42.0*theta02*std::pow(theta31, 4) + (1.0/21.0)*theta02*std::pow(theta31, 3) - 1.0/21.0*theta02*std::pow(theta31, 2) + (1.0/42.0)*theta02*theta31 - 1.0/210.0*theta02)/(-phi0 + phi1);
154  b_H[5] = (1.0/24.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
155  b_ImH[5] = 1.0/24.0 - 1.0/24.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
156  b_D[5] = -0.041666666666666664*std::pow(theta02, 2)*(theta31 - 1)/(-phi0 + phi1) - 0.041666666666666664*theta31*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/24.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(-4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(theta01 - 1) - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/24.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/24.0)*(4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 2) + 12*theta02*theta31 - 6*theta02 + (2*theta02*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
157  b_H[6] = (1.0/120.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
158  b_ImH[6] = 1.0/120.0 - 1.0/120.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
159  b_D[6] = -0.0083333333333333332*std::pow(theta02, 2)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0083333333333333332*theta31*(std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*theta31*theta32 - theta02*theta31 + 6*theta02*std::pow(theta32, 2) - 10*theta02*theta32 + 3*theta02 - 2*theta31*theta32 - 6*std::pow(theta32, 2) + 8*theta32)/(phi2 - phi3) - 0.0083333333333333332*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 2)*theta31*theta32 + std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 2) - theta02*theta31*std::pow(theta32, 2) + theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 5*theta02*std::pow(theta32, 2) - 3*theta02*theta32 + theta31*std::pow(theta32, 2) - theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - theta31 + 2*std::pow(theta32, 3) - 4*std::pow(theta32, 2) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-4*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 16*std::pow(theta02, 3)*theta31 - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 6*theta02*std::pow(theta31, 2) - 12*theta02*theta31 + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) + theta02*theta31*std::pow(theta32, 2) - theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 3*theta02*theta32 - theta31*std::pow(theta32, 2) + theta31 - 2*std::pow(theta32, 3) + 4*std::pow(theta32, 2) - 2)) + (2*theta02*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(2*theta02*theta31*theta32 - 2*theta02*theta31 + 2*theta02*std::pow(theta32, 2) - 6*theta02*theta32 + 4*theta02 + theta31*std::pow(theta32, 2) - theta31*theta32 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
160  b_H[7] = (1.0/360.0)*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
161  b_ImH[7] = 1.0/360.0 - 1.0/360.0*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
162  b_D[7] = -0.0027777777777777779*std::pow(theta02, 2)*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.0027777777777777779*theta31*(std::pow(theta02, 2)*std::pow(theta31, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 4*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 8*std::pow(theta02, 2)*theta32 + 6*std::pow(theta02, 2) + 2*theta02*std::pow(theta31, 2)*theta32 - theta02*std::pow(theta31, 2) + 6*theta02*theta31*std::pow(theta32, 2) - 12*theta02*theta31*theta32 + 4*theta02*theta31 + 12*theta02*std::pow(theta32, 3) - 33*theta02*std::pow(theta32, 2) + 28*theta02*theta32 - 6*theta02 - 2*std::pow(theta31, 2)*theta32 - 6*theta31*std::pow(theta32, 2) + 10*theta31*theta32 - 12*std::pow(theta32, 3) + 30*std::pow(theta32, 2) - 20*theta32)/(phi2 - phi3) - 0.0027777777777777779*(-6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 18*std::pow(theta02, 2)*theta31 - 9*std::pow(theta02, 2) - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 + std::pow(theta02, 2)*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) + theta31*(2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 + 3*std::pow(theta02, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 2*theta02*std::pow(theta32, 3) - 6*theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 2*theta31*std::pow(theta32, 2) + 2*theta31 - 2*std::pow(theta32, 3) + 5*std::pow(theta32, 2) - 3) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2) + 2*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 6*std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 2*std::pow(theta02, 4) - 3*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2) + 8*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 3)*theta31 + 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) + 8*std::pow(theta02, 3) - 6*theta02*std::pow(theta31, 3) + 18*theta02*std::pow(theta31, 2) - 18*theta02*theta31 + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) + 6*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - theta02*std::pow(theta31, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 11*theta02*std::pow(theta32, 3) + 14*theta02*std::pow(theta32, 2) - 6*theta02*theta32 - std::pow(theta31, 2)*std::pow(theta32, 2) + std::pow(theta31, 2) - 2*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) - 3*theta31 - 3*std::pow(theta32, 4) + 10*std::pow(theta32, 3) - 10*std::pow(theta32, 2) + 3)) + (2*theta02*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(2*theta02*std::pow(theta31, 2)*theta32 - 2*theta02*std::pow(theta31, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 8*theta02*theta31*theta32 + 6*theta02*theta31 + 2*theta02*std::pow(theta32, 3) - 8*theta02*std::pow(theta32, 2) + 12*theta02*theta32 - 6*theta02 + std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta31, 2)*theta32 + 2*theta31*std::pow(theta32, 3) - 6*theta31*std::pow(theta32, 2) + 4*theta31*theta32 + 3*std::pow(theta32, 4) - 11*std::pow(theta32, 3) + 14*std::pow(theta32, 2) - 6*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
163  b_H[8] = -1.0/840.0*theta01*std::pow(theta02, 2)*std::pow(theta31, 4) + (1.0/210.0)*theta01*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/140.0*theta01*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/210.0)*theta01*std::pow(theta02, 2)*theta31 - 1.0/840.0*theta01*std::pow(theta02, 2) - 1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4)*theta32 + (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 4) - 1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/168.0)*std::pow(theta02, 2)*std::pow(theta31, 3)*theta32 - 1.0/210.0*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/168.0)*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/84.0*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + (1.0/140.0)*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/840.0*std::pow(theta02, 2)*theta31*std::pow(theta32, 4) + (1.0/168.0)*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 1.0/84.0*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta02, 2)*theta31*theta32 - 1.0/210.0*std::pow(theta02, 2)*theta31 - 1.0/840.0*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/840.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/420.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/120.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/168.0*theta02*std::pow(theta31, 3)*theta32 - 1.0/280.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) + (13.0/840.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/42.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/84.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/210.0*theta02*theta31*std::pow(theta32, 5) + (19.0/840.0)*theta02*theta31*std::pow(theta32, 4) - 1.0/24.0*theta02*theta31*std::pow(theta32, 3) + (1.0/28.0)*theta02*theta31*std::pow(theta32, 2) - 1.0/84.0*theta02*theta31*theta32 + (1.0/840.0)*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/420.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/140.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/280.0)*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/70.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/56.0)*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/210.0)*theta31*std::pow(theta32, 5) - 3.0/140.0*theta31*std::pow(theta32, 4) + (1.0/28.0)*theta31*std::pow(theta32, 3) - 1.0/42.0*theta31*std::pow(theta32, 2) + 1.0/840.0;
164  b_ImH[8] = (1.0/840.0)*theta01*std::pow(theta02, 2)*std::pow(theta31, 4) - 1.0/210.0*theta01*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/140.0)*theta01*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/210.0*theta01*std::pow(theta02, 2)*theta31 + (1.0/840.0)*theta01*std::pow(theta02, 2) + (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 4)*theta32 - 1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4) + (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/168.0*std::pow(theta02, 2)*std::pow(theta31, 3)*theta32 + (1.0/210.0)*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/168.0*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 1.0/140.0*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/840.0)*std::pow(theta02, 2)*theta31*std::pow(theta32, 4) - 1.0/168.0*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) + (1.0/84.0)*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 1.0/84.0*std::pow(theta02, 2)*theta31*theta32 + (1.0/210.0)*std::pow(theta02, 2)*theta31 + (1.0/840.0)*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/840.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/420.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/120.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/168.0)*theta02*std::pow(theta31, 3)*theta32 + (1.0/280.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) - 13.0/840.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/42.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/84.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/210.0)*theta02*theta31*std::pow(theta32, 5) - 19.0/840.0*theta02*theta31*std::pow(theta32, 4) + (1.0/24.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/28.0*theta02*theta31*std::pow(theta32, 2) + (1.0/84.0)*theta02*theta31*theta32 - 1.0/840.0*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/420.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/140.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/280.0*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/70.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/56.0*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/210.0*theta31*std::pow(theta32, 5) + (3.0/140.0)*theta31*std::pow(theta32, 4) - 1.0/28.0*theta31*std::pow(theta32, 3) + (1.0/42.0)*theta31*std::pow(theta32, 2);
165  b_D[8] = -1.0*(-1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4) - 1.0/420.0*std::pow(theta02, 2)*std::pow(theta31, 3)*theta32 + (1.0/168.0)*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/280.0*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 1.0/84.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/210.0*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) + (1.0/56.0)*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 1.0/42.0*std::pow(theta02, 2)*theta31*theta32 + (1.0/84.0)*std::pow(theta02, 2)*theta31 - 1.0/420.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/840.0)*theta02*std::pow(theta31, 4) - 1.0/140.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/60.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/168.0*theta02*std::pow(theta31, 3) - 1.0/70.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (13.0/280.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/21.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/84.0)*theta02*std::pow(theta31, 2) - 1.0/42.0*theta02*theta31*std::pow(theta32, 4) + (19.0/210.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/8.0*theta02*theta31*std::pow(theta32, 2) + (1.0/14.0)*theta02*theta31*theta32 - 1.0/84.0*theta02*theta31 + (1.0/420.0)*std::pow(theta31, 4)*theta32 + (1.0/140.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/70.0*std::pow(theta31, 3)*theta32 + (1.0/70.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/70.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/28.0)*std::pow(theta31, 2)*theta32 + (1.0/42.0)*theta31*std::pow(theta32, 4) - 3.0/35.0*theta31*std::pow(theta32, 3) + (3.0/28.0)*theta31*std::pow(theta32, 2) - 1.0/21.0*theta31*theta32)/(phi2 - phi3) - 1.0*(-1.0/210.0*theta01*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/70.0)*theta01*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/70.0*theta01*std::pow(theta02, 2)*theta31 + (1.0/210.0)*theta01*std::pow(theta02, 2) - 1.0/210.0*std::pow(theta02, 2)*std::pow(theta31, 3)*theta32 + (1.0/210.0)*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/280.0*std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/56.0)*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 1.0/70.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/420.0*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) + (1.0/84.0)*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 1.0/42.0*std::pow(theta02, 2)*theta31*theta32 + (1.0/70.0)*std::pow(theta02, 2)*theta31 - 1.0/840.0*std::pow(theta02, 2)*std::pow(theta32, 4) + (1.0/168.0)*std::pow(theta02, 2)*std::pow(theta32, 3) - 1.0/84.0*std::pow(theta02, 2)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta02, 2)*theta32 - 1.0/210.0*std::pow(theta02, 2) - 1.0/210.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/210.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/140.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/40.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/56.0*theta02*std::pow(theta31, 2)*theta32 - 1.0/140.0*theta02*theta31*std::pow(theta32, 4) + (13.0/420.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/21.0*theta02*theta31*std::pow(theta32, 2) + (1.0/42.0)*theta02*theta31*theta32 - 1.0/210.0*theta02*std::pow(theta32, 5) + (19.0/840.0)*theta02*std::pow(theta32, 4) - 1.0/24.0*theta02*std::pow(theta32, 3) + (1.0/28.0)*theta02*std::pow(theta32, 2) - 1.0/84.0*theta02*theta32 + (1.0/210.0)*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/140.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/140.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/140.0)*theta31*std::pow(theta32, 4) - 1.0/35.0*theta31*std::pow(theta32, 3) + (1.0/28.0)*theta31*std::pow(theta32, 2) + (1.0/210.0)*std::pow(theta32, 5) - 3.0/140.0*std::pow(theta32, 4) + (1.0/28.0)*std::pow(theta32, 3) - 1.0/42.0*std::pow(theta32, 2))/(phi1 - phi3) - 1.0*(-1.0/420.0*theta01*theta02*std::pow(theta31, 4) + (1.0/105.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/70.0*theta01*theta02*std::pow(theta31, 2) + (1.0/105.0)*theta01*theta02*theta31 - 1.0/420.0*theta01*theta02 - 1.0/420.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/420.0)*theta02*std::pow(theta31, 4) - 1.0/420.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/84.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/105.0*theta02*std::pow(theta31, 3) - 1.0/420.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/84.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/42.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/70.0)*theta02*std::pow(theta31, 2) - 1.0/420.0*theta02*theta31*std::pow(theta32, 4) + (1.0/84.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/42.0*theta02*theta31*std::pow(theta32, 2) + (1.0/42.0)*theta02*theta31*theta32 - 1.0/105.0*theta02*theta31 - 1.0/840.0*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/840.0)*std::pow(theta31, 4)*theta32 - 1.0/420.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/120.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/168.0*std::pow(theta31, 3)*theta32 - 1.0/280.0*std::pow(theta31, 2)*std::pow(theta32, 4) + (13.0/840.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/42.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta31, 2)*theta32 - 1.0/210.0*theta31*std::pow(theta32, 5) + (19.0/840.0)*theta31*std::pow(theta32, 4) - 1.0/24.0*theta31*std::pow(theta32, 3) + (1.0/28.0)*theta31*std::pow(theta32, 2) - 1.0/84.0*theta31*theta32)/(-phi0 + phi2) - 1.0*(-1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4) + (1.0/210.0)*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/140.0*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta02, 2)*theta31 - 1.0/840.0*std::pow(theta02, 2))/(-phi0 + phi1);
166  b_H[9] = (1.0/60.0)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
167  b_ImH[9] = 1.0/60.0 - 1.0/60.0*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
168  b_D[9] = -0.016666666666666666*std::pow(theta02, 3)*(theta31 - 1)/(-phi0 + phi1) - 0.016666666666666666*theta31*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/60.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 5) - 8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(theta01 - 1) - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/60.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 5)*std::pow(theta31, 2) - 4*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/60.0)*(4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4)*std::pow(theta31, 2) - 20*std::pow(theta02, 4)*theta31 + 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (3*std::pow(theta02, 2)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
169  b_H[10] = (1.0/360.0)*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
170  b_ImH[10] = 1.0/360.0 - 1.0/360.0*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
171  b_D[10] = -0.0027777777777777779*std::pow(theta02, 3)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0027777777777777779*theta31*(std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta31*theta32 - std::pow(theta02, 2)*theta31 + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta32 + 3*std::pow(theta02, 2) + 3*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 12*theta02*std::pow(theta32, 3) - 21*theta02*std::pow(theta32, 2) + 8*theta02*theta32 - 3*theta31*std::pow(theta32, 2) - 12*std::pow(theta32, 3) + 15*std::pow(theta32, 2))/(phi2 - phi3) - 0.0027777777777777779*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5) + 8*std::pow(theta02, 4)*theta31 - 8*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*theta31 + 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 3)*theta31*theta32 + std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 5*std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 - theta02*theta31*std::pow(theta32, 3) + theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 7*theta02*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 2) + theta31*std::pow(theta32, 3) - theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - theta31 + 3*std::pow(theta32, 4) - 5*std::pow(theta32, 3) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 2) + 4*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 4*std::pow(theta02, 4)*std::pow(theta31, 2) - 8*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) - std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(-4*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 10*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 10*std::pow(theta02, 4)*std::pow(theta31, 2) + 20*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 20*std::pow(theta02, 4)*theta31 - 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 10*std::pow(theta02, 4) + 16*std::pow(theta02, 3)*std::pow(theta31, 2) - 32*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*theta32 + theta02*theta31*std::pow(theta32, 3) - theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 7*theta02*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 2) - theta31*std::pow(theta32, 3) + theta31 - 3*std::pow(theta32, 4) + 5*std::pow(theta32, 3) - 2)) + (3*std::pow(theta02, 2)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(3*std::pow(theta02, 2)*theta31*theta32 - 3*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 9*std::pow(theta02, 2)*theta32 + 6*std::pow(theta02, 2) + 2*theta02*theta31*std::pow(theta32, 2) - 2*theta02*theta31*theta32 + 4*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) + 6*theta02*theta32 + theta31*std::pow(theta32, 3) - theta31*std::pow(theta32, 2) + 3*std::pow(theta32, 4) - 7*std::pow(theta32, 3) + 4*std::pow(theta32, 2)))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
172  b_H[11] = (1.0/1260.0)*(2*std::pow(theta02, 5)*std::pow(theta31, 3) - 6*std::pow(theta02, 5)*std::pow(theta31, 2) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 3) - 3*std::pow(theta02, 3)*std::pow(theta31, 2) + 3*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 3)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 3)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta31*theta32 + 3*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 3) - 4*std::pow(theta02, 3)*std::pow(theta32, 2) + 6*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 11*std::pow(theta02, 2)*std::pow(theta32, 3) + 14*std::pow(theta02, 2)*std::pow(theta32, 2) - 6*std::pow(theta02, 2)*theta32 + theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta02*theta31*std::pow(theta32, 4) - 8*theta02*theta31*std::pow(theta32, 3) + 5*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 5) - 21*theta02*std::pow(theta32, 4) + 25*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) - std::pow(theta31, 2)*std::pow(theta32, 3) + std::pow(theta31, 2) - 3*theta31*std::pow(theta32, 4) + 6*theta31*std::pow(theta32, 3) - 3*theta31 - 6*std::pow(theta32, 5) + 18*std::pow(theta32, 4) - 15*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
173  b_ImH[11] = 1.0/1260.0 - 1.0/1260.0*(2*std::pow(theta02, 5)*std::pow(theta31, 3) - 6*std::pow(theta02, 5)*std::pow(theta31, 2) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 3) - 3*std::pow(theta02, 3)*std::pow(theta31, 2) + 3*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 3)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 3)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta31*theta32 + 3*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 3) - 4*std::pow(theta02, 3)*std::pow(theta32, 2) + 6*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 11*std::pow(theta02, 2)*std::pow(theta32, 3) + 14*std::pow(theta02, 2)*std::pow(theta32, 2) - 6*std::pow(theta02, 2)*theta32 + theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta02*theta31*std::pow(theta32, 4) - 8*theta02*theta31*std::pow(theta32, 3) + 5*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 5) - 21*theta02*std::pow(theta32, 4) + 25*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) - std::pow(theta31, 2)*std::pow(theta32, 3) + std::pow(theta31, 2) - 3*theta31*std::pow(theta32, 4) + 6*theta31*std::pow(theta32, 3) - 3*theta31 - 6*std::pow(theta32, 5) + 18*std::pow(theta32, 4) - 15*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
174  b_D[11] = -0.00079365079365079365*std::pow(theta02, 3)*(std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 3*theta31 - 1)/(-phi0 + phi1) - 0.00079365079365079365*theta31*(std::pow(theta02, 3)*std::pow(theta31, 2) + 2*std::pow(theta02, 3)*theta31*theta32 - 4*std::pow(theta02, 3)*theta31 + 3*std::pow(theta02, 3)*std::pow(theta32, 2) - 8*std::pow(theta02, 3)*theta32 + 6*std::pow(theta02, 3) + 2*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 2)*std::pow(theta31, 2) + 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 12*std::pow(theta02, 2)*theta31*theta32 + 4*std::pow(theta02, 2)*theta31 + 12*std::pow(theta02, 2)*std::pow(theta32, 3) - 33*std::pow(theta02, 2)*std::pow(theta32, 2) + 28*std::pow(theta02, 2)*theta32 - 6*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 2*theta02*std::pow(theta31, 2)*theta32 + 12*theta02*theta31*std::pow(theta32, 3) - 24*theta02*theta31*std::pow(theta32, 2) + 10*theta02*theta31*theta32 + 30*theta02*std::pow(theta32, 4) - 84*theta02*std::pow(theta32, 3) + 75*theta02*std::pow(theta32, 2) - 20*theta02*theta32 - 3*std::pow(theta31, 2)*std::pow(theta32, 2) - 12*theta31*std::pow(theta32, 3) + 18*theta31*std::pow(theta32, 2) - 30*std::pow(theta32, 4) + 72*std::pow(theta32, 3) - 45*std::pow(theta32, 2))/(phi2 - phi3) - 0.00079365079365079365*(6*std::pow(theta02, 5)*std::pow(theta31, 2) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(2 - 2*theta31)*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 5) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 24*std::pow(theta02, 4)*theta31 - 12*std::pow(theta02, 4) + 3*std::pow(theta02, 3)*std::pow(theta31, 2) - 6*std::pow(theta02, 3)*theta31 + 3*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 24*std::pow(theta02, 2)*theta31 - 12*std::pow(theta02, 2) - 3*std::pow(theta31, 2) + 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 3)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta31*theta32 + 3*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 3) - 4*std::pow(theta02, 3)*std::pow(theta32, 2) + 6*std::pow(theta02, 3)*theta32 + std::pow(theta02, 3)*(3*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 3*theta01 - 3*std::pow(theta31, 2) + 6*theta31 - 3) - 3*std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 11*std::pow(theta02, 2)*std::pow(theta32, 3) + 14*std::pow(theta02, 2)*std::pow(theta32, 2) - 6*std::pow(theta02, 2)*theta32 + theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta02*theta31*std::pow(theta32, 4) - 8*theta02*theta31*std::pow(theta32, 3) + 5*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 5) - 21*theta02*std::pow(theta32, 4) + 25*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) - std::pow(theta31, 2)*std::pow(theta32, 3) + std::pow(theta31, 2) - 3*theta31*std::pow(theta32, 4) + 6*theta31*std::pow(theta32, 3) + theta31*(2*std::pow(theta02, 3)*theta31*theta32 - 2*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta32 + 3*std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 2*theta02*theta31*std::pow(theta32, 2) + 3*theta02*std::pow(theta32, 4) - 8*theta02*std::pow(theta32, 3) + 5*theta02*std::pow(theta32, 2) - 2*theta31*std::pow(theta32, 3) + 2*theta31 - 3*std::pow(theta32, 4) + 6*std::pow(theta32, 3) - 3) - 3*theta31 - 6*std::pow(theta32, 5) + 18*std::pow(theta32, 4) - 15*std::pow(theta32, 3) + 3) - 3)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/1260.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(2*std::pow(theta02, 5)*std::pow(theta31, 3) - 6*std::pow(theta02, 5)*std::pow(theta31, 2) + 2*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 5)*theta31 + 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 2*std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) - 12*std::pow(theta02, 4)*theta31 + 4*std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta31, 3) - 3*std::pow(theta02, 3)*std::pow(theta31, 2) + 3*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3) - 4*std::pow(theta02, 2)*std::pow(theta31, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + (std::pow(theta02, 3)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 3)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta31*theta32 + 3*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 3) - 4*std::pow(theta02, 3)*std::pow(theta32, 2) + 6*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 11*std::pow(theta02, 2)*std::pow(theta32, 3) + 14*std::pow(theta02, 2)*std::pow(theta32, 2) - 6*std::pow(theta02, 2)*theta32 + theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta02*theta31*std::pow(theta32, 4) - 8*theta02*theta31*std::pow(theta32, 3) + 5*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 5) - 21*theta02*std::pow(theta32, 4) + 25*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) - std::pow(theta31, 2)*std::pow(theta32, 3) + std::pow(theta31, 2) - 3*theta31*std::pow(theta32, 4) + 6*theta31*std::pow(theta32, 3) - 3*theta31 - 6*std::pow(theta32, 5) + 18*std::pow(theta32, 4) - 15*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/1260.0)*(4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(-std::pow(theta31, 2) + 2*theta31 - 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 4)*std::pow(theta31, 3) - 30*std::pow(theta02, 4)*std::pow(theta31, 2) + 10*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 30*std::pow(theta02, 4)*theta31 + 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(-std::pow(theta31, 2) + 2*theta31 - 1) - 10*std::pow(theta02, 4) - 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 48*std::pow(theta02, 3)*std::pow(theta31, 2) - 48*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 9*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2) - 8*theta02*std::pow(theta31, 3) + 24*theta02*std::pow(theta31, 2) - 24*theta02*theta31 + 8*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 3)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(std::pow(theta02, 3)*std::pow(theta31, 2)*theta32 - std::pow(theta02, 3)*std::pow(theta31, 2) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta31*theta32 + 3*std::pow(theta02, 3)*theta31 + std::pow(theta02, 3)*std::pow(theta32, 3) - 4*std::pow(theta02, 3)*std::pow(theta32, 2) + 6*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta31, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - 6*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 11*std::pow(theta02, 2)*std::pow(theta32, 3) + 14*std::pow(theta02, 2)*std::pow(theta32, 2) - 6*std::pow(theta02, 2)*theta32 + theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta02*theta31*std::pow(theta32, 4) - 8*theta02*theta31*std::pow(theta32, 3) + 5*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 5) - 21*theta02*std::pow(theta32, 4) + 25*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) - std::pow(theta31, 2)*std::pow(theta32, 3) + std::pow(theta31, 2) - 3*theta31*std::pow(theta32, 4) + 6*theta31*std::pow(theta32, 3) - 3*theta31 - 6*std::pow(theta32, 5) + 18*std::pow(theta32, 4) - 15*std::pow(theta32, 3) + 3)) + (3*std::pow(theta02, 2)*(theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*theta01*theta31 - theta01 - std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 3*theta31 + 1) + theta31*(3*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 12*std::pow(theta02, 2)*theta31*theta32 + 9*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 3) - 12*std::pow(theta02, 2)*std::pow(theta32, 2) + 18*std::pow(theta02, 2)*theta32 - 9*std::pow(theta02, 2) + 2*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 2*theta02*std::pow(theta31, 2)*theta32 + 4*theta02*theta31*std::pow(theta32, 3) - 12*theta02*theta31*std::pow(theta32, 2) + 8*theta02*theta31*theta32 + 6*theta02*std::pow(theta32, 4) - 22*theta02*std::pow(theta32, 3) + 28*theta02*std::pow(theta32, 2) - 12*theta02*theta32 + std::pow(theta31, 2)*std::pow(theta32, 3) - std::pow(theta31, 2)*std::pow(theta32, 2) + 3*theta31*std::pow(theta32, 4) - 8*theta31*std::pow(theta32, 3) + 5*theta31*std::pow(theta32, 2) + 6*std::pow(theta32, 5) - 21*std::pow(theta32, 4) + 25*std::pow(theta32, 3) - 10*std::pow(theta32, 2)))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
175  b_H[12] = (1.0/120.0)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
176  b_ImH[12] = 1.0/120.0 - 1.0/120.0*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
177  b_D[12] = -0.0083333333333333332*std::pow(theta02, 4)*(theta31 - 1)/(-phi0 + phi1) - 0.0083333333333333332*theta31*(std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 2*std::pow(theta02, 2)*theta32 + 4*theta02*std::pow(theta32, 3) - 3*theta02*std::pow(theta32, 2) - 4*std::pow(theta32, 3))/(phi2 - phi3) - 1.0*((1.0/120.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/120.0)*(4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 6) - 6*std::pow(theta02, 4)*theta31 + 6*std::pow(theta02, 4) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 4)*theta32 + std::pow(theta02, 4)*(theta01 - 1) - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 6)*std::pow(theta31, 2) - 4*std::pow(theta02, 6)*theta31 + 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6) - 3*std::pow(theta02, 4)*std::pow(theta31, 2) + 6*std::pow(theta02, 4)*theta31 - 3*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/120.0)*(4*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 5)*std::pow(theta31, 2) - 24*std::pow(theta02, 5)*theta31 + 12*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 12*std::pow(theta02, 5) - 12*std::pow(theta02, 3)*std::pow(theta31, 2) + 24*std::pow(theta02, 3)*theta31 - 12*std::pow(theta02, 3) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (4*std::pow(theta02, 3)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(4*std::pow(theta02, 3)*theta32 - 4*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*theta02*std::pow(theta32, 3) - 2*theta02*std::pow(theta32, 2) + std::pow(theta32, 4) - std::pow(theta32, 3)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
178  b_H[13] = (1.0/840.0)*(-2*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6)*std::pow(theta31, 2) + 4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 6)*theta31 - 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6) + 3*std::pow(theta02, 4)*std::pow(theta31, 2) - 6*std::pow(theta02, 4)*theta31 + 3*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 4)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 4)*theta31*theta32 - std::pow(theta02, 4)*theta31 + std::pow(theta02, 4)*std::pow(theta32, 2) - 3*std::pow(theta02, 4)*theta32 + 2*std::pow(theta02, 4) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*std::pow(theta32, 3) - 5*std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 7*std::pow(theta02, 2)*std::pow(theta32, 3) + 4*std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*theta31*std::pow(theta32, 4) - theta02*theta31*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 5) - 9*theta02*std::pow(theta32, 4) + 5*theta02*std::pow(theta32, 3) - theta31*std::pow(theta32, 4) + theta31 - 4*std::pow(theta32, 5) + 6*std::pow(theta32, 4) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
179  b_ImH[13] = 1.0/840.0 - 1.0/840.0*(-2*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6)*std::pow(theta31, 2) + 4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 6)*theta31 - 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6) + 3*std::pow(theta02, 4)*std::pow(theta31, 2) - 6*std::pow(theta02, 4)*theta31 + 3*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 4)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 4)*theta31*theta32 - std::pow(theta02, 4)*theta31 + std::pow(theta02, 4)*std::pow(theta32, 2) - 3*std::pow(theta02, 4)*theta32 + 2*std::pow(theta02, 4) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*std::pow(theta32, 3) - 5*std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 7*std::pow(theta02, 2)*std::pow(theta32, 3) + 4*std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*theta31*std::pow(theta32, 4) - theta02*theta31*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 5) - 9*theta02*std::pow(theta32, 4) + 5*theta02*std::pow(theta32, 3) - theta31*std::pow(theta32, 4) + theta31 - 4*std::pow(theta32, 5) + 6*std::pow(theta32, 4) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
180  b_D[13] = -0.0011904761904761906*std::pow(theta02, 4)*(-std::pow(theta31, 2) + 2*theta31 - 1)/(-phi0 + phi1) + 0.0011904761904761906*theta31*(std::pow(theta02, 4)*theta31 + 2*std::pow(theta02, 4)*theta32 - 3*std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta31*theta32 - std::pow(theta02, 3)*theta31 + 6*std::pow(theta02, 3)*std::pow(theta32, 2) - 10*std::pow(theta02, 3)*theta32 + 3*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 2*std::pow(theta02, 2)*theta31*theta32 + 12*std::pow(theta02, 2)*std::pow(theta32, 3) - 21*std::pow(theta02, 2)*std::pow(theta32, 2) + 8*std::pow(theta02, 2)*theta32 + 4*theta02*theta31*std::pow(theta32, 3) - 3*theta02*theta31*std::pow(theta32, 2) + 20*theta02*std::pow(theta32, 4) - 36*theta02*std::pow(theta32, 3) + 15*theta02*std::pow(theta32, 2) - 4*theta31*std::pow(theta32, 3) - 20*std::pow(theta32, 4) + 24*std::pow(theta32, 3))/(phi2 - phi3) - 0.0011904761904761906*(-2*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 6)*theta31 - 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 6) + 6*std::pow(theta02, 4)*theta31 - 6*std::pow(theta02, 4) + 8*std::pow(theta02, 2)*theta31 - 8*std::pow(theta02, 2) + 2*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta02, 4)*theta31*theta32 + std::pow(theta02, 4)*theta31 - std::pow(theta02, 4)*std::pow(theta32, 2) + 3*std::pow(theta02, 4)*theta32 + std::pow(theta02, 4)*(-2*theta01*theta31 + 2*theta01 + 2*theta31 - 2) - 2*std::pow(theta02, 4) - std::pow(theta02, 3)*theta31*std::pow(theta32, 2) + std::pow(theta02, 3)*theta31*theta32 - 2*std::pow(theta02, 3)*std::pow(theta32, 3) + 5*std::pow(theta02, 3)*std::pow(theta32, 2) - 3*std::pow(theta02, 3)*theta32 - std::pow(theta02, 2)*theta31*std::pow(theta32, 3) + std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*std::pow(theta32, 4) + 7*std::pow(theta02, 2)*std::pow(theta32, 3) - 4*std::pow(theta02, 2)*std::pow(theta32, 2) - theta02*theta31*std::pow(theta32, 4) + theta02*theta31*std::pow(theta32, 3) - 4*theta02*std::pow(theta32, 5) + 9*theta02*std::pow(theta32, 4) - 5*theta02*std::pow(theta32, 3) + theta31*std::pow(theta32, 4) - theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) - theta31 + 4*std::pow(theta32, 5) - 6*std::pow(theta32, 4) + 2) - 2)/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/840.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-2*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6)*std::pow(theta31, 2) + 4*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 6)*theta31 - 2*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 6) + 3*std::pow(theta02, 4)*std::pow(theta31, 2) - 6*std::pow(theta02, 4)*theta31 + 3*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*std::pow(theta31, 2) - 8*std::pow(theta02, 2)*theta31 + 4*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + (std::pow(theta02, 4)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 4)*theta31*theta32 - std::pow(theta02, 4)*theta31 + std::pow(theta02, 4)*std::pow(theta32, 2) - 3*std::pow(theta02, 4)*theta32 + 2*std::pow(theta02, 4) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*std::pow(theta32, 3) - 5*std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 7*std::pow(theta02, 2)*std::pow(theta32, 3) + 4*std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*theta31*std::pow(theta32, 4) - theta02*theta31*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 5) - 9*theta02*std::pow(theta32, 4) + 5*theta02*std::pow(theta32, 3) - theta31*std::pow(theta32, 4) + theta31 - 4*std::pow(theta32, 5) + 6*std::pow(theta32, 4) - 2))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/840.0)*(-4*std::pow(theta02, 7)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 7)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 6)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 5)*std::pow(theta31, 2) + 24*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 5)*theta31 - 12*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 5) + 12*std::pow(theta02, 3)*std::pow(theta31, 2) - 24*std::pow(theta02, 3)*theta31 + 12*std::pow(theta02, 3) + 8*theta02*std::pow(theta31, 2) - 16*theta02*theta31 + 8*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 4)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(std::pow(theta02, 4)*theta31*theta32 - std::pow(theta02, 4)*theta31 + std::pow(theta02, 4)*std::pow(theta32, 2) - 3*std::pow(theta02, 4)*theta32 + 2*std::pow(theta02, 4) + std::pow(theta02, 3)*theta31*std::pow(theta32, 2) - std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*std::pow(theta32, 3) - 5*std::pow(theta02, 3)*std::pow(theta32, 2) + 3*std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*theta31*std::pow(theta32, 3) - std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 3*std::pow(theta02, 2)*std::pow(theta32, 4) - 7*std::pow(theta02, 2)*std::pow(theta32, 3) + 4*std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*theta31*std::pow(theta32, 4) - theta02*theta31*std::pow(theta32, 3) + 4*theta02*std::pow(theta32, 5) - 9*theta02*std::pow(theta32, 4) + 5*theta02*std::pow(theta32, 3) - theta31*std::pow(theta32, 4) + theta31 - 4*std::pow(theta32, 5) + 6*std::pow(theta32, 4) - 2)) + (4*std::pow(theta02, 3)*(-theta01*std::pow(theta31, 2) + 2*theta01*theta31 - theta01 + std::pow(theta31, 2) - 2*theta31 + 1) - theta31*(4*std::pow(theta02, 3)*theta31*theta32 - 4*std::pow(theta02, 3)*theta31 + 4*std::pow(theta02, 3)*std::pow(theta32, 2) - 12*std::pow(theta02, 3)*theta32 + 8*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta31*theta32 + 6*std::pow(theta02, 2)*std::pow(theta32, 3) - 15*std::pow(theta02, 2)*std::pow(theta32, 2) + 9*std::pow(theta02, 2)*theta32 + 2*theta02*theta31*std::pow(theta32, 3) - 2*theta02*theta31*std::pow(theta32, 2) + 6*theta02*std::pow(theta32, 4) - 14*theta02*std::pow(theta32, 3) + 8*theta02*std::pow(theta32, 2) + theta31*std::pow(theta32, 4) - theta31*std::pow(theta32, 3) + 4*std::pow(theta32, 5) - 9*std::pow(theta32, 4) + 5*std::pow(theta32, 3)))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
181  b_H[14] = (1.0/210.0)*(2*std::pow(theta02, 7)*std::pow(theta31, 2) - 4*std::pow(theta02, 7)*theta31 + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 7) + std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*theta31 + std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
182  b_ImH[14] = 1.0/210.0 - 1.0/210.0*(2*std::pow(theta02, 7)*std::pow(theta31, 2) - 4*std::pow(theta02, 7)*theta31 + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 7) + std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*theta31 + std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1);
183  b_D[14] = -0.0047619047619047623*std::pow(theta02, 5)*(theta31 - 1)/(-phi0 + phi1) - 0.0047619047619047623*theta31*(std::pow(theta02, 5) + 2*std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + 3*std::pow(theta02, 3)*std::pow(theta32, 2) - 2*std::pow(theta02, 3)*theta32 + 4*std::pow(theta02, 2)*std::pow(theta32, 3) - 3*std::pow(theta02, 2)*std::pow(theta32, 2) + 5*theta02*std::pow(theta32, 4) - 4*theta02*std::pow(theta32, 3) - 5*std::pow(theta32, 4))/(phi2 - phi3) - 1.0*((1.0/210.0)*(-4*std::pow(theta02, 4) - 4*std::pow(theta02, 2) - 1)*(2*std::pow(theta02, 7)*std::pow(theta31, 2) - 4*std::pow(theta02, 7)*theta31 + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 7) + std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*theta31 + std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/210.0)*(4*std::pow(theta02, 7)*theta31 + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(2*theta31 - 2) + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 4*std::pow(theta02, 7) + 2*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5) - 8*std::pow(theta02, 4)*theta31 + 8*std::pow(theta02, 4) - 8*std::pow(theta02, 2)*theta31 + 8*std::pow(theta02, 2) - 2*theta31 + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + (4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1)*(std::pow(theta02, 5)*theta32 + std::pow(theta02, 5)*(theta01 - 1) - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1) + 2)/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(phi1 - phi3) - 1.0*((1.0/210.0)*(-16*std::pow(theta02, 3)*theta31 + 16*std::pow(theta02, 3) - 8*theta02*theta31 + 8*theta02)*(2*std::pow(theta02, 7)*std::pow(theta31, 2) - 4*std::pow(theta02, 7)*theta31 + 2*std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 2*std::pow(theta02, 7) + std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*theta31 + std::pow(theta02, 5) - 4*std::pow(theta02, 4)*std::pow(theta31, 2) + 8*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) - 4*std::pow(theta02, 2)*std::pow(theta31, 2) + 8*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) - std::pow(theta31, 2) + 2*theta31 + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) - 1)/std::pow(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1, 2) + (1.0/210.0)*(4*std::pow(theta02, 8)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/std::sqrt(2*std::pow(theta02, 2) + 1) + std::pow(theta02, 7)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 14*std::pow(theta02, 6)*std::pow(theta31, 2) - 28*std::pow(theta02, 6)*theta31 + 14*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(std::pow(theta31, 2) - 2*theta31 + 1) + 14*std::pow(theta02, 6) + 5*std::pow(theta02, 4)*std::pow(theta31, 2) - 10*std::pow(theta02, 4)*theta31 + 5*std::pow(theta02, 4) - 16*std::pow(theta02, 3)*std::pow(theta31, 2) + 32*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) - 8*theta02*std::pow(theta31, 2) + 16*theta02*theta31 - 8*theta02 + (5*std::pow(theta02, 4)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(5*std::pow(theta02, 4)*theta32 - 5*std::pow(theta02, 4) + 4*std::pow(theta02, 3)*std::pow(theta32, 2) - 4*std::pow(theta02, 3)*theta32 + 3*std::pow(theta02, 2)*std::pow(theta32, 3) - 3*std::pow(theta02, 2)*std::pow(theta32, 2) + 2*theta02*std::pow(theta32, 4) - 2*theta02*std::pow(theta32, 3) + std::pow(theta32, 5) - std::pow(theta32, 4)))*(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1) + (std::pow(theta02, 5)*(theta01*theta31 - theta01 - theta31 + 1) + theta31*(std::pow(theta02, 5)*theta32 - std::pow(theta02, 5) + std::pow(theta02, 4)*std::pow(theta32, 2) - std::pow(theta02, 4)*theta32 + std::pow(theta02, 3)*std::pow(theta32, 3) - std::pow(theta02, 3)*std::pow(theta32, 2) + std::pow(theta02, 2)*std::pow(theta32, 4) - std::pow(theta02, 2)*std::pow(theta32, 3) + theta02*std::pow(theta32, 5) - theta02*std::pow(theta32, 4) - std::pow(theta32, 5) + 1))*(16*std::pow(theta02, 3)*theta31 - 16*std::pow(theta02, 3) + 8*theta02*theta31 - 8*theta02))/(4*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 4) + 4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + theta31 - 1))/(-phi0 + phi2);
184  b_H[15] = (1.0/24.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/24.0*std::pow(theta01, 2)*theta02 + (1.0/24.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/24.0*theta01*theta02*theta31 + (1.0/24.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/24.0*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2)*theta32 + 1.0/24.0;
185  b_ImH[15] = -1.0/24.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/24.0)*std::pow(theta01, 2)*theta02 - 1.0/24.0*theta01*theta02*std::pow(theta31, 2) + (1.0/24.0)*theta01*theta02*theta31 - 1.0/24.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/24.0)*theta02*std::pow(theta31, 2) + (1.0/24.0)*std::pow(theta31, 2)*theta32;
186  b_D[15] = -1.0*((1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta02 + (1.0/12.0)*theta01*theta02*theta31 - 1.0/24.0*theta01*theta02 + (1.0/12.0)*theta02*theta31*theta32 - 1.0/12.0*theta02*theta31 - 1.0/12.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/24.0)*std::pow(theta01, 2)*theta31 - 1.0/24.0*std::pow(theta01, 2) + (1.0/24.0)*theta01*std::pow(theta31, 2) - 1.0/24.0*theta01*theta31 + (1.0/24.0)*std::pow(theta31, 2)*theta32 - 1.0/24.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/12.0)*theta01*theta02*theta31 - 1.0/12.0*theta01*theta02 + (1.0/24.0)*theta02*std::pow(theta31, 2) - 1.0/24.0*theta02*theta31)/(-phi0 + phi1);
187  b_H[16] = (1.0/120.0)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
188  b_ImH[16] = 1.0/120.0 - 1.0/120.0*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
189  b_D[16] = 0.0083333333333333332*theta02*(2*theta01*std::pow(theta31, 2) - 4*theta01*theta31 + 2*theta01 + 2*std::pow(theta31, 3) - 4*std::pow(theta31, 2) + 2*theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(-2*theta02*theta31 - 2*theta02*theta32 + 4*theta02 + 2*theta31 + 2*theta32 - 4)/(phi2 - phi3) - 0.0083333333333333332*(24*std::pow(theta02, 4)*std::pow(theta31, 2) - 24*std::pow(theta02, 4)*theta31 - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 3)*std::pow(theta31, 2) + 12*std::pow(theta02, 3)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 24*std::pow(theta02, 2)*std::pow(theta31, 2) - 24*std::pow(theta02, 2)*theta31 - 6*theta02*std::pow(theta31, 2) + 6*theta02*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 2)*theta31 - 2*std::pow(theta01, 2) + 6*theta01*std::pow(theta31, 2) - 8*theta01*theta31 + 2*theta01 - 6*std::pow(theta31, 2) + 6*theta31) + std::pow(theta31, 2)*(-2*theta02*theta32 + 2*theta02 + 2*theta32 - 2) + 2*theta31*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/120.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 3) + 6*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) - 2*theta02*std::pow(theta31, 3) + 3*theta02*std::pow(theta31, 2) - theta02 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/120.0)*(-8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 32*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 48*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 18*std::pow(theta02, 2)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 18*std::pow(theta02, 2)*std::pow(theta31, 2) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 16*theta02*std::pow(theta31, 3) - 24*theta02*std::pow(theta31, 2) + 8*theta02 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 3) - 4*theta01*std::pow(theta31, 2) + 2*theta01*theta31 - 2*std::pow(theta31, 3) + 3*std::pow(theta31, 2) - 1) + std::pow(theta31, 2)*(-2*theta02*theta31*theta32 + 2*theta02*theta31 - theta02*std::pow(theta32, 2) + 4*theta02*theta32 - 3*theta02 + 2*theta31*theta32 - 2*theta31 + std::pow(theta32, 2) - 4*theta32 + 3)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) + std::pow(theta31, 2)*(-2*theta31*theta32 + 2*theta31 - std::pow(theta32, 2) + 4*theta32 - 3) - 3*std::pow(theta31, 2) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
190  b_H[17] = (1.0/360.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/360.0*std::pow(theta01, 2)*theta02 + (1.0/120.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/40.0*theta01*theta02*std::pow(theta31, 3) + (1.0/40.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/120.0*theta01*theta02*theta31 + (1.0/120.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/120.0*theta02*std::pow(theta31, 4) + (1.0/180.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/45.0)*theta02*std::pow(theta31, 3) + (1.0/360.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/60.0*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta31, 4)*theta32 - 1.0/180.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 3)*theta32 - 1.0/360.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/72.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 2)*theta32 + 1.0/360.0;
191  b_ImH[17] = -1.0/360.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) + (1.0/120.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/360.0)*std::pow(theta01, 2)*theta02 - 1.0/120.0*theta01*theta02*std::pow(theta31, 4) + (1.0/40.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/40.0*theta01*theta02*std::pow(theta31, 2) + (1.0/120.0)*theta01*theta02*theta31 - 1.0/120.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/180.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/36.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/45.0*theta02*std::pow(theta31, 3) - 1.0/360.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/72.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/60.0)*theta02*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta31, 4)*theta32 + (1.0/180.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 3)*theta32 + (1.0/360.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32;
192  b_D[17] = -1.0*((1.0/120.0)*theta02*std::pow(theta31, 4) + (1.0/90.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/36.0*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/36.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/36.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta31, 4) - 1.0/90.0*std::pow(theta31, 3)*theta32 + (1.0/36.0)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32 - 1.0/36.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*((1.0/120.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/120.0)*std::pow(theta01, 2)*theta02 + (1.0/30.0)*theta01*theta02*std::pow(theta31, 3) - 3.0/40.0*theta01*theta02*std::pow(theta31, 2) + (1.0/20.0)*theta01*theta02*theta31 - 1.0/120.0*theta01*theta02 + (1.0/30.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/30.0*theta02*std::pow(theta31, 3) + (1.0/60.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/12.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/15.0)*theta02*std::pow(theta31, 2) + (1.0/180.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/36.0*theta02*theta31*std::pow(theta32, 2) + (1.0/18.0)*theta02*theta31*theta32 - 1.0/30.0*theta02*theta31 - 1.0/30.0*std::pow(theta31, 3)*theta32 - 1.0/60.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/12.0)*std::pow(theta31, 2)*theta32 - 1.0/180.0*theta31*std::pow(theta32, 3) + (1.0/36.0)*theta31*std::pow(theta32, 2) - 1.0/18.0*theta31*theta32)/(phi1 - phi3) - 1.0*((1.0/360.0)*std::pow(theta01, 2)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta01, 2)*theta31 - 1.0/360.0*std::pow(theta01, 2) + (1.0/120.0)*theta01*std::pow(theta31, 4) - 1.0/40.0*theta01*std::pow(theta31, 3) + (1.0/40.0)*theta01*std::pow(theta31, 2) - 1.0/120.0*theta01*theta31 + (1.0/120.0)*std::pow(theta31, 4)*theta32 - 1.0/120.0*std::pow(theta31, 4) + (1.0/180.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/36.0*std::pow(theta31, 3)*theta32 + (1.0/45.0)*std::pow(theta31, 3) + (1.0/360.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/72.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/36.0)*std::pow(theta31, 2)*theta32 - 1.0/60.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*((1.0/180.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/60.0*theta01*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta01*theta02*theta31 - 1.0/180.0*theta01*theta02 + (1.0/120.0)*theta02*std::pow(theta31, 4) - 1.0/40.0*theta02*std::pow(theta31, 3) + (1.0/40.0)*theta02*std::pow(theta31, 2) - 1.0/120.0*theta02*theta31)/(-phi0 + phi1);
193  b_H[18] = -1.0/840.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 4) + (1.0/210.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 1.0/140.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/840.0*std::pow(theta01, 2)*theta02 - 1.0/210.0*theta01*theta02*std::pow(theta31, 5) + (2.0/105.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/35.0*theta01*theta02*std::pow(theta31, 3) + (2.0/105.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/210.0*theta01*theta02*theta31 - 1.0/210.0*theta02*std::pow(theta31, 5)*theta32 + (1.0/210.0)*theta02*std::pow(theta31, 5) - 1.0/280.0*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) + (3.0/140.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/56.0*theta02*std::pow(theta31, 4) - 1.0/420.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/70.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/28.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/42.0)*theta02*std::pow(theta31, 3) - 1.0/840.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/140.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/56.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/42.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/84.0*theta02*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta31, 5)*theta32 + (1.0/280.0)*std::pow(theta31, 4)*std::pow(theta32, 2) - 3.0/140.0*std::pow(theta31, 4)*theta32 + (1.0/420.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/70.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/28.0)*std::pow(theta31, 3)*theta32 + (1.0/840.0)*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/140.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/56.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/42.0*std::pow(theta31, 2)*theta32 + 1.0/840.0;
194  b_ImH[18] = (1.0/840.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 4) - 1.0/210.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) + (1.0/140.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/210.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/840.0)*std::pow(theta01, 2)*theta02 + (1.0/210.0)*theta01*theta02*std::pow(theta31, 5) - 2.0/105.0*theta01*theta02*std::pow(theta31, 4) + (1.0/35.0)*theta01*theta02*std::pow(theta31, 3) - 2.0/105.0*theta01*theta02*std::pow(theta31, 2) + (1.0/210.0)*theta01*theta02*theta31 + (1.0/210.0)*theta02*std::pow(theta31, 5)*theta32 - 1.0/210.0*theta02*std::pow(theta31, 5) + (1.0/280.0)*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) - 3.0/140.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/56.0)*theta02*std::pow(theta31, 4) + (1.0/420.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/70.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/28.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/42.0*theta02*std::pow(theta31, 3) + (1.0/840.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 4) - 1.0/140.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/56.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/42.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/84.0)*theta02*std::pow(theta31, 2) - 1.0/210.0*std::pow(theta31, 5)*theta32 - 1.0/280.0*std::pow(theta31, 4)*std::pow(theta32, 2) + (3.0/140.0)*std::pow(theta31, 4)*theta32 - 1.0/420.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/70.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/28.0*std::pow(theta31, 3)*theta32 - 1.0/840.0*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/140.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/56.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/42.0)*std::pow(theta31, 2)*theta32;
195  b_D[18] = -1.0*(-1.0/210.0*theta02*std::pow(theta31, 5) - 1.0/140.0*theta02*std::pow(theta31, 4)*theta32 + (3.0/140.0)*theta02*std::pow(theta31, 4) - 1.0/140.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/35.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/28.0*theta02*std::pow(theta31, 3) - 1.0/210.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (3.0/140.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/28.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/42.0)*theta02*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta31, 5) + (1.0/140.0)*std::pow(theta31, 4)*theta32 - 3.0/140.0*std::pow(theta31, 4) + (1.0/140.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/35.0*std::pow(theta31, 3)*theta32 + (1.0/28.0)*std::pow(theta31, 3) + (1.0/210.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/140.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/28.0)*std::pow(theta31, 2)*theta32 - 1.0/42.0*std::pow(theta31, 2))/(phi2 - phi3) - 1.0*(-1.0/210.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) + (1.0/70.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/70.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/210.0)*std::pow(theta01, 2)*theta02 - 1.0/42.0*theta01*theta02*std::pow(theta31, 4) + (8.0/105.0)*theta01*theta02*std::pow(theta31, 3) - 3.0/35.0*theta01*theta02*std::pow(theta31, 2) + (4.0/105.0)*theta01*theta02*theta31 - 1.0/210.0*theta01*theta02 - 1.0/42.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/42.0)*theta02*std::pow(theta31, 4) - 1.0/70.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (3.0/35.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/14.0*theta02*std::pow(theta31, 3) - 1.0/140.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) + (3.0/70.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 3.0/28.0*theta02*std::pow(theta31, 2)*theta32 + (1.0/14.0)*theta02*std::pow(theta31, 2) - 1.0/420.0*theta02*theta31*std::pow(theta32, 4) + (1.0/70.0)*theta02*theta31*std::pow(theta32, 3) - 1.0/28.0*theta02*theta31*std::pow(theta32, 2) + (1.0/21.0)*theta02*theta31*theta32 - 1.0/42.0*theta02*theta31 + (1.0/42.0)*std::pow(theta31, 4)*theta32 + (1.0/70.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 3.0/35.0*std::pow(theta31, 3)*theta32 + (1.0/140.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 3.0/70.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (3.0/28.0)*std::pow(theta31, 2)*theta32 + (1.0/420.0)*theta31*std::pow(theta32, 4) - 1.0/70.0*theta31*std::pow(theta32, 3) + (1.0/28.0)*theta31*std::pow(theta32, 2) - 1.0/21.0*theta31*theta32)/(phi1 - phi3) - 1.0*(-1.0/840.0*std::pow(theta01, 2)*std::pow(theta31, 4) + (1.0/210.0)*std::pow(theta01, 2)*std::pow(theta31, 3) - 1.0/140.0*std::pow(theta01, 2)*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta01, 2)*theta31 - 1.0/840.0*std::pow(theta01, 2) - 1.0/210.0*theta01*std::pow(theta31, 5) + (2.0/105.0)*theta01*std::pow(theta31, 4) - 1.0/35.0*theta01*std::pow(theta31, 3) + (2.0/105.0)*theta01*std::pow(theta31, 2) - 1.0/210.0*theta01*theta31 - 1.0/210.0*std::pow(theta31, 5)*theta32 + (1.0/210.0)*std::pow(theta31, 5) - 1.0/280.0*std::pow(theta31, 4)*std::pow(theta32, 2) + (3.0/140.0)*std::pow(theta31, 4)*theta32 - 1.0/56.0*std::pow(theta31, 4) - 1.0/420.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/70.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/28.0*std::pow(theta31, 3)*theta32 + (1.0/42.0)*std::pow(theta31, 3) - 1.0/840.0*std::pow(theta31, 2)*std::pow(theta32, 4) + (1.0/140.0)*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/56.0*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/42.0)*std::pow(theta31, 2)*theta32 - 1.0/84.0*std::pow(theta31, 2))/(-phi0 + phi2) - 1.0*(-1.0/420.0*theta01*theta02*std::pow(theta31, 4) + (1.0/105.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/70.0*theta01*theta02*std::pow(theta31, 2) + (1.0/105.0)*theta01*theta02*theta31 - 1.0/420.0*theta01*theta02 - 1.0/210.0*theta02*std::pow(theta31, 5) + (2.0/105.0)*theta02*std::pow(theta31, 4) - 1.0/35.0*theta02*std::pow(theta31, 3) + (2.0/105.0)*theta02*std::pow(theta31, 2) - 1.0/210.0*theta02*theta31)/(-phi0 + phi1);
196  b_H[19] = (1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/120.0*std::pow(theta02, 2) + (1.0/120.0)*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/120.0*std::pow(theta31, 2) + 1.0/120.0;
197  b_ImH[19] = -1.0/120.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/120.0)*std::pow(theta02, 2) - 1.0/120.0*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/120.0)*std::pow(theta31, 2);
198  b_D[19] = -0.0083333333333333332*std::pow(theta02, 2)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 2)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta02, 2)*theta31 + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/60.0)*theta31*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/60.0*theta31)/(phi1 - phi3) - 1.0*((1.0/60.0)*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/60.0*theta02 + (1.0/120.0)*std::pow(theta31, 2)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
199  b_H[20] = (1.0/720.0)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
200  b_ImH[20] = 1.0/720.0 - 1.0/720.0*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
201  b_D[20] = -0.0013888888888888889*std::pow(theta02, 2)*(-2*theta01*std::pow(theta31, 2) + 4*theta01*theta31 - 2*theta01 - 2*std::pow(theta31, 3) + 4*std::pow(theta31, 2) - 2*theta31)/(-phi0 + phi1) - 0.0013888888888888889*std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31 - 2*std::pow(theta02, 2)*theta32 + 4*std::pow(theta02, 2) - 4*theta02*theta31*theta32 + 2*theta02*theta31 - 6*theta02*std::pow(theta32, 2) + 12*theta02*theta32 - 4*theta02 + 4*theta31*theta32 + 6*std::pow(theta32, 2) - 10*theta32)/(phi2 - phi3) - 0.0013888888888888889*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 12*std::pow(theta02, 4)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 4)*theta31 - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 18*std::pow(theta02, 2)*std::pow(theta31, 2) - 18*std::pow(theta02, 2)*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 2)*(-2*std::pow(theta01, 2)*theta31 + 2*std::pow(theta01, 2) - 6*theta01*std::pow(theta31, 2) + 8*theta01*theta31 - 2*theta01 + 6*std::pow(theta31, 2) - 6*theta31) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta32 + 2*std::pow(theta02, 2) - 2*theta02*std::pow(theta32, 2) + 2*theta02*theta32 + 2*std::pow(theta32, 2) - 2) + 2*theta31*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/720.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3) + 6*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 6*std::pow(theta02, 2)*std::pow(theta31, 3) - 9*std::pow(theta02, 2)*std::pow(theta31, 2) + 3*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/720.0)*(-8*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 3*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 16*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 16*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 2) - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 12*theta02*std::pow(theta31, 3) - 18*theta02*std::pow(theta31, 2) + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 4*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) - 2*theta02*theta31*std::pow(theta32, 2) + 2*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 6*theta02*std::pow(theta32, 2) - 4*theta02*theta32 + 2*theta31*std::pow(theta32, 2) - 2*theta31 + 2*std::pow(theta32, 3) - 5*std::pow(theta32, 2) + 3)) + (2*theta02*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - 2*theta02*std::pow(theta32, 2) + 8*theta02*theta32 - 6*theta02 - 2*theta31*std::pow(theta32, 2) + 2*theta31*theta32 - 2*std::pow(theta32, 3) + 6*std::pow(theta32, 2) - 4*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
202  b_H[21] = (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 4) - 1.0/315.0*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/420.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/2520.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 3*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 4) - 9*theta01*std::pow(theta31, 3) + 9*theta01*std::pow(theta31, 2) - 3*theta01*theta31 - 3*std::pow(theta31, 4) + 8*std::pow(theta31, 3) - 6*std::pow(theta31, 2) + 1) - 1.0/2520.0*std::pow(theta02, 2) - 1.0/840.0*std::pow(theta31, 4) + (1.0/315.0)*std::pow(theta31, 3) + (1.0/2520.0)*std::pow(theta31, 2)*(3*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta31*theta32 + 8*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 10*std::pow(theta02, 2)*theta32 - 6*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 3*theta02*std::pow(theta31, 2)*theta32 + 4*theta02*theta31*std::pow(theta32, 3) - 14*theta02*theta31*std::pow(theta32, 2) + 10*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 13*theta02*std::pow(theta32, 3) + 20*theta02*std::pow(theta32, 2) - 10*theta02*theta32 - 3*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*std::pow(theta31, 2) - 4*theta31*std::pow(theta32, 3) + 12*theta31*std::pow(theta32, 2) - 8*theta31 - 3*std::pow(theta32, 4) + 12*std::pow(theta32, 3) - 15*std::pow(theta32, 2) + 6) - 1.0/420.0*std::pow(theta31, 2) + 1.0/2520.0;
203  b_ImH[21] = -1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4) + (1.0/315.0)*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/420.0*std::pow(theta02, 2)*std::pow(theta31, 2) - 1.0/2520.0*std::pow(theta02, 2)*(std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 3*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 4) - 9*theta01*std::pow(theta31, 3) + 9*theta01*std::pow(theta31, 2) - 3*theta01*theta31 - 3*std::pow(theta31, 4) + 8*std::pow(theta31, 3) - 6*std::pow(theta31, 2) + 1) + (1.0/2520.0)*std::pow(theta02, 2) + (1.0/840.0)*std::pow(theta31, 4) - 1.0/315.0*std::pow(theta31, 3) - 1.0/2520.0*std::pow(theta31, 2)*(3*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta31*theta32 + 8*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 10*std::pow(theta02, 2)*theta32 - 6*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 3*theta02*std::pow(theta31, 2)*theta32 + 4*theta02*theta31*std::pow(theta32, 3) - 14*theta02*theta31*std::pow(theta32, 2) + 10*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 13*theta02*std::pow(theta32, 3) + 20*theta02*std::pow(theta32, 2) - 10*theta02*theta32 - 3*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*std::pow(theta31, 2) - 4*theta31*std::pow(theta32, 3) + 12*theta31*std::pow(theta32, 2) - 8*theta31 - 3*std::pow(theta32, 4) + 12*std::pow(theta32, 3) - 15*std::pow(theta32, 2) + 6) + (1.0/420.0)*std::pow(theta31, 2);
204  b_D[21] = -0.00039682539682539683*std::pow(theta02, 2)*(2*theta01*std::pow(theta31, 3) - 6*theta01*std::pow(theta31, 2) + 6*theta01*theta31 - 2*theta01 + 3*std::pow(theta31, 4) - 9*std::pow(theta31, 3) + 9*std::pow(theta31, 2) - 3*theta31)/(-phi0 + phi1) - 0.00039682539682539683*std::pow(theta31, 2)*(3*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2)*theta31*theta32 - 10*std::pow(theta02, 2)*theta31 + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta32 + 10*std::pow(theta02, 2) + 6*theta02*std::pow(theta31, 2)*theta32 - 3*theta02*std::pow(theta31, 2) + 12*theta02*theta31*std::pow(theta32, 2) - 28*theta02*theta31*theta32 + 10*theta02*theta31 + 12*theta02*std::pow(theta32, 3) - 39*theta02*std::pow(theta32, 2) + 40*theta02*theta32 - 10*theta02 - 6*std::pow(theta31, 2)*theta32 - 12*theta31*std::pow(theta32, 2) + 24*theta31*theta32 - 12*std::pow(theta32, 3) + 36*std::pow(theta32, 2) - 30*theta32)/(phi2 - phi3) - 1.0*((1.0/210.0)*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/105.0*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta02, 2)*theta31 + (1.0/2520.0)*std::pow(theta02, 2)*(3*std::pow(theta01, 2)*std::pow(theta31, 2) - 6*std::pow(theta01, 2)*theta31 + 3*std::pow(theta01, 2) + 12*theta01*std::pow(theta31, 3) - 27*theta01*std::pow(theta31, 2) + 18*theta01*theta31 - 3*theta01 - 12*std::pow(theta31, 3) + 24*std::pow(theta31, 2) - 12*theta31) - 1.0/210.0*std::pow(theta31, 3) + (1.0/2520.0)*std::pow(theta31, 2)*(6*std::pow(theta02, 2)*theta31*theta32 - 6*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2)*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta32 + 8*std::pow(theta02, 2) + 6*theta02*theta31*std::pow(theta32, 2) - 6*theta02*theta31*theta32 + 4*theta02*std::pow(theta32, 3) - 14*theta02*std::pow(theta32, 2) + 10*theta02*theta32 - 6*theta31*std::pow(theta32, 2) + 6*theta31 - 4*std::pow(theta32, 3) + 12*std::pow(theta32, 2) - 8) + (1.0/105.0)*std::pow(theta31, 2) + (1.0/1260.0)*theta31*(3*std::pow(theta02, 2)*std::pow(theta31, 2)*theta32 - 3*std::pow(theta02, 2)*std::pow(theta31, 2) + 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) - 10*std::pow(theta02, 2)*theta31*theta32 + 8*std::pow(theta02, 2)*theta31 + std::pow(theta02, 2)*std::pow(theta32, 3) - 5*std::pow(theta02, 2)*std::pow(theta32, 2) + 10*std::pow(theta02, 2)*theta32 - 6*std::pow(theta02, 2) + 3*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) - 3*theta02*std::pow(theta31, 2)*theta32 + 4*theta02*theta31*std::pow(theta32, 3) - 14*theta02*theta31*std::pow(theta32, 2) + 10*theta02*theta31*theta32 + 3*theta02*std::pow(theta32, 4) - 13*theta02*std::pow(theta32, 3) + 20*theta02*std::pow(theta32, 2) - 10*theta02*theta32 - 3*std::pow(theta31, 2)*std::pow(theta32, 2) + 3*std::pow(theta31, 2) - 4*theta31*std::pow(theta32, 3) + 12*theta31*std::pow(theta32, 2) - 8*theta31 - 3*std::pow(theta32, 4) + 12*std::pow(theta32, 3) - 15*std::pow(theta32, 2) + 6) - 1.0/210.0*theta31)/(phi1 - phi3) - 1.0*((1.0/420.0)*theta02*std::pow(theta31, 4) - 2.0/315.0*theta02*std::pow(theta31, 3) + (1.0/210.0)*theta02*std::pow(theta31, 2) + (1.0/1260.0)*theta02*(std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 3*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 4) - 9*theta01*std::pow(theta31, 3) + 9*theta01*std::pow(theta31, 2) - 3*theta01*theta31 - 3*std::pow(theta31, 4) + 8*std::pow(theta31, 3) - 6*std::pow(theta31, 2) + 1) - 1.0/1260.0*theta02 + (1.0/2520.0)*std::pow(theta31, 2)*(6*theta02*std::pow(theta31, 2)*theta32 - 6*theta02*std::pow(theta31, 2) + 4*theta02*theta31*std::pow(theta32, 2) - 20*theta02*theta31*theta32 + 16*theta02*theta31 + 2*theta02*std::pow(theta32, 3) - 10*theta02*std::pow(theta32, 2) + 20*theta02*theta32 - 12*theta02 + 3*std::pow(theta31, 2)*std::pow(theta32, 2) - 3*std::pow(theta31, 2)*theta32 + 4*theta31*std::pow(theta32, 3) - 14*theta31*std::pow(theta32, 2) + 10*theta31*theta32 + 3*std::pow(theta32, 4) - 13*std::pow(theta32, 3) + 20*std::pow(theta32, 2) - 10*theta32))/(-phi0 + phi2);
205  b_H[22] = (1.0/360.0)*std::pow(theta02, 3)*std::pow(theta31, 2) + (1.0/360.0)*std::pow(theta02, 3)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/360.0*std::pow(theta02, 3) + (1.0/360.0)*std::pow(theta31, 2)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/360.0*std::pow(theta31, 2) + 1.0/360.0;
206  b_ImH[22] = -1.0/360.0*std::pow(theta02, 3)*std::pow(theta31, 2) - 1.0/360.0*std::pow(theta02, 3)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/360.0)*std::pow(theta02, 3) - 1.0/360.0*std::pow(theta31, 2)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + (1.0/360.0)*std::pow(theta31, 2);
207  b_D[22] = -0.0027777777777777779*std::pow(theta02, 3)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 2)*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/180.0)*std::pow(theta02, 3)*theta31 + (1.0/360.0)*std::pow(theta02, 3)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/180.0)*theta31*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/180.0*theta31)/(phi1 - phi3) - 1.0*((1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/120.0)*std::pow(theta02, 2)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/120.0*std::pow(theta02, 2) + (1.0/360.0)*std::pow(theta31, 2)*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))/(-phi0 + phi2);
208  b_H[23] = (1.0/2520.0)*(-4*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::pow(theta31, 3) + 6*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 3)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 4*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 - 2*theta02*theta31*std::pow(theta32, 3) + 2*theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 8*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 2*theta31*std::pow(theta32, 3) - 2*theta31 + 3*std::pow(theta32, 4) - 6*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
209  b_ImH[23] = 1.0/2520.0 - 1.0/2520.0*(-4*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::pow(theta31, 3) + 6*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 3)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 4*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 - 2*theta02*theta31*std::pow(theta32, 3) + 2*theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 8*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 2*theta31*std::pow(theta32, 3) - 2*theta31 + 3*std::pow(theta32, 4) - 6*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
210  b_D[23] = -0.00039682539682539683*std::pow(theta02, 3)*(-2*theta01*std::pow(theta31, 2) + 4*theta01*theta31 - 2*theta01 - 2*std::pow(theta31, 3) + 4*std::pow(theta31, 2) - 2*theta31)/(-phi0 + phi1) - 0.00039682539682539683*std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta31 - 2*std::pow(theta02, 3)*theta32 + 4*std::pow(theta02, 3) - 4*std::pow(theta02, 2)*theta31*theta32 + 2*std::pow(theta02, 2)*theta31 - 6*std::pow(theta02, 2)*std::pow(theta32, 2) + 12*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 6*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 - 12*theta02*std::pow(theta32, 3) + 24*theta02*std::pow(theta32, 2) - 10*theta02*theta32 + 6*theta31*std::pow(theta32, 2) + 12*std::pow(theta32, 3) - 18*std::pow(theta32, 2))/(phi2 - phi3) - 0.00039682539682539683*(-4*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 6*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 12*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 12*std::pow(theta02, 5)*std::pow(theta31, 2) + 12*std::pow(theta02, 5)*theta31*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 5)*theta31 - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 24*std::pow(theta02, 4)*std::pow(theta31, 2) - 24*std::pow(theta02, 4)*theta31 - 6*std::pow(theta02, 3)*std::pow(theta31, 2) + 6*std::pow(theta02, 3)*theta31 + 24*std::pow(theta02, 2)*std::pow(theta31, 2) - 24*std::pow(theta02, 2)*theta31 + 6*std::pow(theta31, 2) - 6*theta31 + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 3)*(-2*std::pow(theta01, 2)*theta31 + 2*std::pow(theta01, 2) - 6*theta01*std::pow(theta31, 2) + 8*theta01*theta31 - 2*theta01 + 6*std::pow(theta31, 2) - 6*theta31) + std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta32 + 2*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta32 - 2*theta02*std::pow(theta32, 3) + 2*theta02*std::pow(theta32, 2) + 2*std::pow(theta32, 3) - 2) + 2*theta31*(-2*std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 4*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 - 2*theta02*theta31*std::pow(theta32, 3) + 2*theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 8*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 2*theta31*std::pow(theta32, 3) - 2*theta31 + 3*std::pow(theta32, 4) - 6*std::pow(theta32, 3) + 3)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/2520.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-4*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::pow(theta31, 3) + 6*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 5)*std::pow(theta31, 2) - 2*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5) + 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 12*std::pow(theta02, 4)*std::pow(theta31, 2) + 4*std::pow(theta02, 4) - 2*std::pow(theta02, 3)*std::pow(theta31, 3) + 3*std::pow(theta02, 3)*std::pow(theta31, 2) - std::pow(theta02, 3) + 8*std::pow(theta02, 2)*std::pow(theta31, 3) - 12*std::pow(theta02, 2)*std::pow(theta31, 2) + 4*std::pow(theta02, 2) + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + (std::pow(theta02, 3)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 4*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 - 2*theta02*theta31*std::pow(theta32, 3) + 2*theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 8*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 2*theta31*std::pow(theta32, 3) - 2*theta31 + 3*std::pow(theta32, 4) - 6*std::pow(theta32, 3) + 3))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/2520.0)*(-8*std::pow(theta02, 6)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 12*std::pow(theta02, 6)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 6)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 3*std::pow(theta02, 5)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 20*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 20*std::pow(theta02, 4)*std::pow(theta31, 3) + 30*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 30*std::pow(theta02, 4)*std::pow(theta31, 2) - 10*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 10*std::pow(theta02, 4) + 32*std::pow(theta02, 3)*std::pow(theta31, 3) - 48*std::pow(theta02, 3)*std::pow(theta31, 2) + 16*std::pow(theta02, 3) - 6*std::pow(theta02, 2)*std::pow(theta31, 3) + 9*std::pow(theta02, 2)*std::pow(theta31, 2) - 3*std::pow(theta02, 2) + 16*theta02*std::pow(theta31, 3) - 24*theta02*std::pow(theta31, 2) + 8*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 3)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-2*std::pow(theta02, 3)*theta31*theta32 + 2*std::pow(theta02, 3)*theta31 - std::pow(theta02, 3)*std::pow(theta32, 2) + 4*std::pow(theta02, 3)*theta32 - 3*std::pow(theta02, 3) - 2*std::pow(theta02, 2)*theta31*std::pow(theta32, 2) + 2*std::pow(theta02, 2)*theta31*theta32 - 2*std::pow(theta02, 2)*std::pow(theta32, 3) + 6*std::pow(theta02, 2)*std::pow(theta32, 2) - 4*std::pow(theta02, 2)*theta32 - 2*theta02*theta31*std::pow(theta32, 3) + 2*theta02*theta31*std::pow(theta32, 2) - 3*theta02*std::pow(theta32, 4) + 8*theta02*std::pow(theta32, 3) - 5*theta02*std::pow(theta32, 2) + 2*theta31*std::pow(theta32, 3) - 2*theta31 + 3*std::pow(theta32, 4) - 6*std::pow(theta32, 3) + 3)) + (3*std::pow(theta02, 2)*(-std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) - 2*theta01*std::pow(theta31, 3) + 4*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + 2*std::pow(theta31, 3) - 3*std::pow(theta31, 2) + 1) + std::pow(theta31, 2)*(-6*std::pow(theta02, 2)*theta31*theta32 + 6*std::pow(theta02, 2)*theta31 - 3*std::pow(theta02, 2)*std::pow(theta32, 2) + 12*std::pow(theta02, 2)*theta32 - 9*std::pow(theta02, 2) - 4*theta02*theta31*std::pow(theta32, 2) + 4*theta02*theta31*theta32 - 4*theta02*std::pow(theta32, 3) + 12*theta02*std::pow(theta32, 2) - 8*theta02*theta32 - 2*theta31*std::pow(theta32, 3) + 2*theta31*std::pow(theta32, 2) - 3*std::pow(theta32, 4) + 8*std::pow(theta32, 3) - 5*std::pow(theta32, 2)))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
211  b_H[24] = (1.0/840.0)*std::pow(theta02, 4)*std::pow(theta31, 2) + (1.0/840.0)*std::pow(theta02, 4)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/840.0*std::pow(theta02, 4) + (1.0/840.0)*std::pow(theta31, 2)*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) - 1.0/840.0*std::pow(theta31, 2) + 1.0/840.0;
212  b_ImH[24] = -1.0/840.0*std::pow(theta02, 4)*std::pow(theta31, 2) - 1.0/840.0*std::pow(theta02, 4)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) + (1.0/840.0)*std::pow(theta02, 4) - 1.0/840.0*std::pow(theta31, 2)*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) + (1.0/840.0)*std::pow(theta31, 2);
213  b_D[24] = -0.0011904761904761906*std::pow(theta02, 4)*(2*theta01*theta31 - 2*theta01 + std::pow(theta31, 2) - theta31)/(-phi0 + phi1) - 0.0011904761904761906*std::pow(theta31, 2)*(std::pow(theta02, 4) + 2*std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 2*std::pow(theta02, 2)*theta32 + 4*theta02*std::pow(theta32, 3) - 3*theta02*std::pow(theta32, 2) - 4*std::pow(theta32, 3))/(phi2 - phi3) - 1.0*((1.0/420.0)*std::pow(theta02, 4)*theta31 + (1.0/840.0)*std::pow(theta02, 4)*(std::pow(theta01, 2) + 2*theta01*theta31 - theta01 - 2*theta31) + (1.0/420.0)*theta31*(std::pow(theta02, 4)*theta32 - std::pow(theta02, 4) + std::pow(theta02, 3)*std::pow(theta32, 2) - std::pow(theta02, 3)*theta32 + std::pow(theta02, 2)*std::pow(theta32, 3) - std::pow(theta02, 2)*std::pow(theta32, 2) + theta02*std::pow(theta32, 4) - theta02*std::pow(theta32, 3) - std::pow(theta32, 4) + 1) - 1.0/420.0*theta31)/(phi1 - phi3) - 1.0*((1.0/210.0)*std::pow(theta02, 3)*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta02, 3)*(std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + theta01*std::pow(theta31, 2) - theta01*theta31 - std::pow(theta31, 2) + 1) - 1.0/210.0*std::pow(theta02, 3) + (1.0/840.0)*std::pow(theta31, 2)*(4*std::pow(theta02, 3)*theta32 - 4*std::pow(theta02, 3) + 3*std::pow(theta02, 2)*std::pow(theta32, 2) - 3*std::pow(theta02, 2)*theta32 + 2*theta02*std::pow(theta32, 3) - 2*theta02*std::pow(theta32, 2) + std::pow(theta32, 4) - std::pow(theta32, 3)))/(-phi0 + phi2);
214  b_H[25] = (1.0/60.0)*std::pow(theta01, 3)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 3)*theta02 + (1.0/60.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/60.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/60.0*theta01*theta02*std::pow(theta31, 2) + (1.0/60.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/60.0*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3)*theta32 + 1.0/60.0;
215  b_ImH[25] = -1.0/60.0*std::pow(theta01, 3)*theta02*theta31 + (1.0/60.0)*std::pow(theta01, 3)*theta02 - 1.0/60.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*theta01*theta02*std::pow(theta31, 3) + (1.0/60.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/60.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/60.0)*theta02*std::pow(theta31, 3) + (1.0/60.0)*std::pow(theta31, 3)*theta32;
216  b_D[25] = -1.0*((1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*std::pow(theta31, 3))/(phi2 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta02 + (1.0/30.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/60.0*std::pow(theta01, 2)*theta02 + (1.0/20.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/20.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/20.0*theta02*std::pow(theta31, 2) - 1.0/20.0*std::pow(theta31, 2)*theta32)/(phi1 - phi3) - 1.0*((1.0/60.0)*std::pow(theta01, 3)*theta31 - 1.0/60.0*std::pow(theta01, 3) + (1.0/60.0)*std::pow(theta01, 2)*std::pow(theta31, 2) - 1.0/60.0*std::pow(theta01, 2)*theta31 + (1.0/60.0)*theta01*std::pow(theta31, 3) - 1.0/60.0*theta01*std::pow(theta31, 2) + (1.0/60.0)*std::pow(theta31, 3)*theta32 - 1.0/60.0*std::pow(theta31, 3))/(-phi0 + phi2) - 1.0*((1.0/20.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/20.0*std::pow(theta01, 2)*theta02 + (1.0/30.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/30.0*theta01*theta02*theta31 + (1.0/60.0)*theta02*std::pow(theta31, 3) - 1.0/60.0*theta02*std::pow(theta31, 2))/(-phi0 + phi1);
217  b_H[26] = (1.0/360.0)*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
218  b_ImH[26] = 1.0/360.0 - 1.0/360.0*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
219  b_D[26] = 0.0027777777777777779*theta02*(3*std::pow(theta01, 2)*std::pow(theta31, 2) - 6*std::pow(theta01, 2)*theta31 + 3*std::pow(theta01, 2) + 4*theta01*std::pow(theta31, 3) - 8*theta01*std::pow(theta31, 2) + 4*theta01*theta31 + 3*std::pow(theta31, 4) - 6*std::pow(theta31, 3) + 3*std::pow(theta31, 2))/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 3)*(-3*theta02*theta31 - 2*theta02*theta32 + 5*theta02 + 3*theta31 + 2*theta32 - 5)/(phi2 - phi3) - 0.0027777777777777779*(48*std::pow(theta02, 4)*std::pow(theta31, 3) - 48*std::pow(theta02, 4)*std::pow(theta31, 2) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 3) + 24*std::pow(theta02, 3)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 3)*std::pow(theta31, 2) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 48*std::pow(theta02, 2)*std::pow(theta31, 3) - 48*std::pow(theta02, 2)*std::pow(theta31, 2) - 12*theta02*std::pow(theta31, 3) + 12*theta02*std::pow(theta31, 2) + 12*std::pow(theta31, 3) - 12*std::pow(theta31, 2) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 3)*theta31 - 2*std::pow(theta01, 3) + 6*std::pow(theta01, 2)*std::pow(theta31, 2) - 8*std::pow(theta01, 2)*theta31 + 2*std::pow(theta01, 2) + 12*theta01*std::pow(theta31, 3) - 18*theta01*std::pow(theta31, 2) + 6*theta01*theta31 - 12*std::pow(theta31, 3) + 12*std::pow(theta31, 2)) + std::pow(theta31, 3)*(-3*theta02*theta32 + 3*theta02 + 3*theta32 - 3) + 3*std::pow(theta31, 2)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/360.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(12*std::pow(theta02, 4)*std::pow(theta31, 4) - 16*std::pow(theta02, 4)*std::pow(theta31, 3) + 4*std::pow(theta02, 4) - 6*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 3)*std::pow(theta31, 4) + 8*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 12*std::pow(theta02, 2)*std::pow(theta31, 4) - 16*std::pow(theta02, 2)*std::pow(theta31, 3) + 4*std::pow(theta02, 2) - 3*theta02*std::pow(theta31, 4) + 4*theta02*std::pow(theta31, 3) - theta02 + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/360.0)*(-12*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 16*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 3*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 48*std::pow(theta02, 3)*std::pow(theta31, 4) + 4*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 64*std::pow(theta02, 3)*std::pow(theta31, 3) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 18*std::pow(theta02, 2)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 18*std::pow(theta02, 2)*std::pow(theta31, 4) + 24*std::pow(theta02, 2)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 2)*std::pow(theta31, 3) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 24*theta02*std::pow(theta31, 4) - 32*theta02*std::pow(theta31, 3) + 8*theta02 - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + std::pow(theta01, 3) + 2*std::pow(theta01, 2)*std::pow(theta31, 3) - 4*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*std::pow(theta01, 2)*theta31 + 3*theta01*std::pow(theta31, 4) - 6*theta01*std::pow(theta31, 3) + 3*theta01*std::pow(theta31, 2) - 3*std::pow(theta31, 4) + 4*std::pow(theta31, 3) - 1) + std::pow(theta31, 3)*(-3*theta02*theta31*theta32 + 3*theta02*theta31 - theta02*std::pow(theta32, 2) + 5*theta02*theta32 - 4*theta02 + 3*theta31*theta32 - 3*theta31 + std::pow(theta32, 2) - 5*theta32 + 4)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) + std::pow(theta31, 3)*(-3*theta31*theta32 + 3*theta31 - std::pow(theta32, 2) + 5*theta32 - 4) - 4*std::pow(theta31, 3) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
220  b_H[27] = (1.0/1260.0)*std::pow(theta01, 3)*theta02*std::pow(theta31, 3) - 1.0/420.0*std::pow(theta01, 3)*theta02*std::pow(theta31, 2) + (1.0/420.0)*std::pow(theta01, 3)*theta02*theta31 - 1.0/1260.0*std::pow(theta01, 3)*theta02 + (1.0/420.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 4) - 1.0/140.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) + (1.0/140.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) - 1.0/420.0*std::pow(theta01, 2)*theta02*theta31 + (1.0/210.0)*theta01*theta02*std::pow(theta31, 5) - 1.0/70.0*theta01*theta02*std::pow(theta31, 4) + (1.0/70.0)*theta01*theta02*std::pow(theta31, 3) - 1.0/210.0*theta01*theta02*std::pow(theta31, 2) + (1.0/210.0)*theta02*std::pow(theta31, 5)*theta32 - 1.0/210.0*theta02*std::pow(theta31, 5) + (1.0/420.0)*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/70.0*theta02*std::pow(theta31, 4)*theta32 + (1.0/84.0)*theta02*std::pow(theta31, 4) + (1.0/1260.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/210.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/84.0)*theta02*std::pow(theta31, 3)*theta32 - 1.0/126.0*theta02*std::pow(theta31, 3) - 1.0/210.0*std::pow(theta31, 5)*theta32 - 1.0/420.0*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/70.0)*std::pow(theta31, 4)*theta32 - 1.0/1260.0*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/210.0)*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/84.0*std::pow(theta31, 3)*theta32 + 1.0/1260.0;
221  b_ImH[27] = -1.0/1260.0*std::pow(theta01, 3)*theta02*std::pow(theta31, 3) + (1.0/420.0)*std::pow(theta01, 3)*theta02*std::pow(theta31, 2) - 1.0/420.0*std::pow(theta01, 3)*theta02*theta31 + (1.0/1260.0)*std::pow(theta01, 3)*theta02 - 1.0/420.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 4) + (1.0/140.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 1.0/140.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/420.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/210.0*theta01*theta02*std::pow(theta31, 5) + (1.0/70.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/70.0*theta01*theta02*std::pow(theta31, 3) + (1.0/210.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/210.0*theta02*std::pow(theta31, 5)*theta32 + (1.0/210.0)*theta02*std::pow(theta31, 5) - 1.0/420.0*theta02*std::pow(theta31, 4)*std::pow(theta32, 2) + (1.0/70.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/84.0*theta02*std::pow(theta31, 4) - 1.0/1260.0*theta02*std::pow(theta31, 3)*std::pow(theta32, 3) + (1.0/210.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/84.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/126.0)*theta02*std::pow(theta31, 3) + (1.0/210.0)*std::pow(theta31, 5)*theta32 + (1.0/420.0)*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/70.0*std::pow(theta31, 4)*theta32 + (1.0/1260.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/210.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta31, 3)*theta32;
222  b_D[27] = -1.0*((1.0/210.0)*theta02*std::pow(theta31, 5) + (1.0/210.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/70.0*theta02*std::pow(theta31, 4) + (1.0/420.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 1.0/105.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/84.0)*theta02*std::pow(theta31, 3) - 1.0/210.0*std::pow(theta31, 5) - 1.0/210.0*std::pow(theta31, 4)*theta32 + (1.0/70.0)*std::pow(theta31, 4) - 1.0/420.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/105.0)*std::pow(theta31, 3)*theta32 - 1.0/84.0*std::pow(theta31, 3))/(phi2 - phi3) - 1.0*((1.0/420.0)*std::pow(theta01, 3)*theta02*std::pow(theta31, 2) - 1.0/210.0*std::pow(theta01, 3)*theta02*theta31 + (1.0/420.0)*std::pow(theta01, 3)*theta02 + (1.0/105.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 3.0/140.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/70.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/420.0*std::pow(theta01, 2)*theta02 + (1.0/42.0)*theta01*theta02*std::pow(theta31, 4) - 2.0/35.0*theta01*theta02*std::pow(theta31, 3) + (3.0/70.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/105.0*theta01*theta02*theta31 + (1.0/42.0)*theta02*std::pow(theta31, 4)*theta32 - 1.0/42.0*theta02*std::pow(theta31, 4) + (1.0/105.0)*theta02*std::pow(theta31, 3)*std::pow(theta32, 2) - 2.0/35.0*theta02*std::pow(theta31, 3)*theta32 + (1.0/21.0)*theta02*std::pow(theta31, 3) + (1.0/420.0)*theta02*std::pow(theta31, 2)*std::pow(theta32, 3) - 1.0/70.0*theta02*std::pow(theta31, 2)*std::pow(theta32, 2) + (1.0/28.0)*theta02*std::pow(theta31, 2)*theta32 - 1.0/42.0*theta02*std::pow(theta31, 2) - 1.0/42.0*std::pow(theta31, 4)*theta32 - 1.0/105.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (2.0/35.0)*std::pow(theta31, 3)*theta32 - 1.0/420.0*std::pow(theta31, 2)*std::pow(theta32, 3) + (1.0/70.0)*std::pow(theta31, 2)*std::pow(theta32, 2) - 1.0/28.0*std::pow(theta31, 2)*theta32)/(phi1 - phi3) - 1.0*((1.0/1260.0)*std::pow(theta01, 3)*std::pow(theta31, 3) - 1.0/420.0*std::pow(theta01, 3)*std::pow(theta31, 2) + (1.0/420.0)*std::pow(theta01, 3)*theta31 - 1.0/1260.0*std::pow(theta01, 3) + (1.0/420.0)*std::pow(theta01, 2)*std::pow(theta31, 4) - 1.0/140.0*std::pow(theta01, 2)*std::pow(theta31, 3) + (1.0/140.0)*std::pow(theta01, 2)*std::pow(theta31, 2) - 1.0/420.0*std::pow(theta01, 2)*theta31 + (1.0/210.0)*theta01*std::pow(theta31, 5) - 1.0/70.0*theta01*std::pow(theta31, 4) + (1.0/70.0)*theta01*std::pow(theta31, 3) - 1.0/210.0*theta01*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta31, 5)*theta32 - 1.0/210.0*std::pow(theta31, 5) + (1.0/420.0)*std::pow(theta31, 4)*std::pow(theta32, 2) - 1.0/70.0*std::pow(theta31, 4)*theta32 + (1.0/84.0)*std::pow(theta31, 4) + (1.0/1260.0)*std::pow(theta31, 3)*std::pow(theta32, 3) - 1.0/210.0*std::pow(theta31, 3)*std::pow(theta32, 2) + (1.0/84.0)*std::pow(theta31, 3)*theta32 - 1.0/126.0*std::pow(theta31, 3))/(-phi0 + phi2) - 1.0*((1.0/420.0)*std::pow(theta01, 2)*theta02*std::pow(theta31, 3) - 1.0/140.0*std::pow(theta01, 2)*theta02*std::pow(theta31, 2) + (1.0/140.0)*std::pow(theta01, 2)*theta02*theta31 - 1.0/420.0*std::pow(theta01, 2)*theta02 + (1.0/210.0)*theta01*theta02*std::pow(theta31, 4) - 1.0/70.0*theta01*theta02*std::pow(theta31, 3) + (1.0/70.0)*theta01*theta02*std::pow(theta31, 2) - 1.0/210.0*theta01*theta02*theta31 + (1.0/210.0)*theta02*std::pow(theta31, 5) - 1.0/70.0*theta02*std::pow(theta31, 4) + (1.0/70.0)*theta02*std::pow(theta31, 3) - 1.0/210.0*theta02*std::pow(theta31, 2))/(-phi0 + phi1);
223  b_H[28] = (1.0/360.0)*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/360.0)*std::pow(theta02, 2)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/360.0*std::pow(theta02, 2) + (1.0/360.0)*std::pow(theta31, 3)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/360.0*std::pow(theta31, 3) + 1.0/360.0;
224  b_ImH[28] = -1.0/360.0*std::pow(theta02, 2)*std::pow(theta31, 3) - 1.0/360.0*std::pow(theta02, 2)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) + (1.0/360.0)*std::pow(theta02, 2) - 1.0/360.0*std::pow(theta31, 3)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/360.0)*std::pow(theta31, 3);
225  b_D[28] = -0.0027777777777777779*std::pow(theta02, 2)*(3*std::pow(theta01, 2)*theta31 - 3*std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + std::pow(theta31, 3) - std::pow(theta31, 2))/(-phi0 + phi1) - 0.0027777777777777779*std::pow(theta31, 3)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/120.0)*std::pow(theta02, 2)*std::pow(theta31, 2) + (1.0/360.0)*std::pow(theta02, 2)*(std::pow(theta01, 3) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 2) - 2*theta01*theta31 - 3*std::pow(theta31, 2)) + (1.0/120.0)*std::pow(theta31, 2)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/120.0*std::pow(theta31, 2))/(phi1 - phi3) - 1.0*((1.0/180.0)*theta02*std::pow(theta31, 3) + (1.0/180.0)*theta02*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/180.0*theta02 + (1.0/360.0)*std::pow(theta31, 3)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
226  b_H[29] = (1.0/2520.0)*(-6*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 4)*std::pow(theta31, 4) + 8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 9*std::pow(theta02, 2)*std::pow(theta31, 4) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 3*std::pow(theta02, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (std::pow(theta02, 2)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + 1) + std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 5*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 3*theta02*theta31*std::pow(theta32, 2) + 3*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 7*theta02*std::pow(theta32, 2) - 5*theta02*theta32 + 3*theta31*std::pow(theta32, 2) - 3*theta31 + 2*std::pow(theta32, 3) - 6*std::pow(theta32, 2) + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
227  b_ImH[29] = 1.0/2520.0 - 1.0/2520.0*(-6*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 4)*std::pow(theta31, 4) + 8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 9*std::pow(theta02, 2)*std::pow(theta31, 4) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 3*std::pow(theta02, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (std::pow(theta02, 2)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + 1) + std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 5*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 3*theta02*theta31*std::pow(theta32, 2) + 3*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 7*theta02*std::pow(theta32, 2) - 5*theta02*theta32 + 3*theta31*std::pow(theta32, 2) - 3*theta31 + 2*std::pow(theta32, 3) - 6*std::pow(theta32, 2) + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
228  b_D[29] = -0.00039682539682539683*std::pow(theta02, 2)*(-3*std::pow(theta01, 2)*std::pow(theta31, 2) + 6*std::pow(theta01, 2)*theta31 - 3*std::pow(theta01, 2) - 4*theta01*std::pow(theta31, 3) + 8*theta01*std::pow(theta31, 2) - 4*theta01*theta31 - 3*std::pow(theta31, 4) + 6*std::pow(theta31, 3) - 3*std::pow(theta31, 2))/(-phi0 + phi1) - 0.00039682539682539683*std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta31 - 2*std::pow(theta02, 2)*theta32 + 5*std::pow(theta02, 2) - 6*theta02*theta31*theta32 + 3*theta02*theta31 - 6*theta02*std::pow(theta32, 2) + 14*theta02*theta32 - 5*theta02 + 6*theta31*theta32 + 6*std::pow(theta32, 2) - 12*theta32)/(phi2 - phi3) - 0.00039682539682539683*(-6*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 4)*std::pow(theta31, 3) + 24*std::pow(theta02, 4)*std::pow(theta31, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 4)*std::pow(theta31, 2) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 36*std::pow(theta02, 2)*std::pow(theta31, 3) - 36*std::pow(theta02, 2)*std::pow(theta31, 2) + 12*std::pow(theta31, 3) - 12*std::pow(theta31, 2) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(std::pow(theta02, 2)*(-2*std::pow(theta01, 3)*theta31 + 2*std::pow(theta01, 3) - 6*std::pow(theta01, 2)*std::pow(theta31, 2) + 8*std::pow(theta01, 2)*theta31 - 2*std::pow(theta01, 2) - 12*theta01*std::pow(theta31, 3) + 18*theta01*std::pow(theta31, 2) - 6*theta01*theta31 + 12*std::pow(theta31, 3) - 12*std::pow(theta31, 2)) + std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta32 + 3*std::pow(theta02, 2) - 3*theta02*std::pow(theta32, 2) + 3*theta02*theta32 + 3*std::pow(theta32, 2) - 3) + 3*std::pow(theta31, 2)*(-3*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 5*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 3*theta02*theta31*std::pow(theta32, 2) + 3*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 7*theta02*std::pow(theta32, 2) - 5*theta02*theta32 + 3*theta31*std::pow(theta32, 2) - 3*theta31 + 2*std::pow(theta32, 3) - 6*std::pow(theta32, 2) + 4)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/2520.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(-6*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 6*std::pow(theta02, 4)*std::pow(theta31, 4) + 8*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 4)*std::pow(theta31, 3) - 2*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 2*std::pow(theta02, 4) + 9*std::pow(theta02, 2)*std::pow(theta31, 4) - 12*std::pow(theta02, 2)*std::pow(theta31, 3) + 3*std::pow(theta02, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + (std::pow(theta02, 2)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + 1) + std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 5*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 3*theta02*theta31*std::pow(theta32, 2) + 3*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 7*theta02*std::pow(theta32, 2) - 5*theta02*theta32 + 3*theta31*std::pow(theta32, 2) - 3*theta31 + 2*std::pow(theta32, 3) - 6*std::pow(theta32, 2) + 4))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/2520.0)*(-12*std::pow(theta02, 5)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 16*std::pow(theta02, 5)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 3*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 4*std::pow(theta02, 4)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 24*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 24*std::pow(theta02, 3)*std::pow(theta31, 4) + 32*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 32*std::pow(theta02, 3)*std::pow(theta31, 3) - 8*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 8*std::pow(theta02, 3) + 18*theta02*std::pow(theta31, 4) - 24*theta02*std::pow(theta31, 3) + 6*theta02 + (16*std::pow(theta02, 3) + 8*theta02)*(std::pow(theta02, 2)*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + 1) + std::pow(theta31, 3)*(-3*std::pow(theta02, 2)*theta31*theta32 + 3*std::pow(theta02, 2)*theta31 - std::pow(theta02, 2)*std::pow(theta32, 2) + 5*std::pow(theta02, 2)*theta32 - 4*std::pow(theta02, 2) - 3*theta02*theta31*std::pow(theta32, 2) + 3*theta02*theta31*theta32 - 2*theta02*std::pow(theta32, 3) + 7*theta02*std::pow(theta32, 2) - 5*theta02*theta32 + 3*theta31*std::pow(theta32, 2) - 3*theta31 + 2*std::pow(theta32, 3) - 6*std::pow(theta32, 2) + 4)) + (2*theta02*(-std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) - 2*std::pow(theta01, 2)*std::pow(theta31, 3) + 4*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 - 3*theta01*std::pow(theta31, 4) + 6*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) + 3*std::pow(theta31, 4) - 4*std::pow(theta31, 3) + 1) + std::pow(theta31, 3)*(-6*theta02*theta31*theta32 + 6*theta02*theta31 - 2*theta02*std::pow(theta32, 2) + 10*theta02*theta32 - 8*theta02 - 3*theta31*std::pow(theta32, 2) + 3*theta31*theta32 - 2*std::pow(theta32, 3) + 7*std::pow(theta32, 2) - 5*theta32))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
229  b_H[30] = (1.0/1260.0)*std::pow(theta02, 3)*std::pow(theta31, 3) + (1.0/1260.0)*std::pow(theta02, 3)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/1260.0*std::pow(theta02, 3) + (1.0/1260.0)*std::pow(theta31, 3)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/1260.0*std::pow(theta31, 3) + 1.0/1260.0;
230  b_ImH[30] = -1.0/1260.0*std::pow(theta02, 3)*std::pow(theta31, 3) - 1.0/1260.0*std::pow(theta02, 3)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) + (1.0/1260.0)*std::pow(theta02, 3) - 1.0/1260.0*std::pow(theta31, 3)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) + (1.0/1260.0)*std::pow(theta31, 3);
231  b_D[30] = -0.00079365079365079365*std::pow(theta02, 3)*(3*std::pow(theta01, 2)*theta31 - 3*std::pow(theta01, 2) + 2*theta01*std::pow(theta31, 2) - 2*theta01*theta31 + std::pow(theta31, 3) - std::pow(theta31, 2))/(-phi0 + phi1) - 0.00079365079365079365*std::pow(theta31, 3)*(std::pow(theta02, 3) + 2*std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + 3*theta02*std::pow(theta32, 2) - 2*theta02*theta32 - 3*std::pow(theta32, 2))/(phi2 - phi3) - 1.0*((1.0/420.0)*std::pow(theta02, 3)*std::pow(theta31, 2) + (1.0/1260.0)*std::pow(theta02, 3)*(std::pow(theta01, 3) + 2*std::pow(theta01, 2)*theta31 - std::pow(theta01, 2) + 3*theta01*std::pow(theta31, 2) - 2*theta01*theta31 - 3*std::pow(theta31, 2)) + (1.0/420.0)*std::pow(theta31, 2)*(std::pow(theta02, 3)*theta32 - std::pow(theta02, 3) + std::pow(theta02, 2)*std::pow(theta32, 2) - std::pow(theta02, 2)*theta32 + theta02*std::pow(theta32, 3) - theta02*std::pow(theta32, 2) - std::pow(theta32, 3) + 1) - 1.0/420.0*std::pow(theta31, 2))/(phi1 - phi3) - 1.0*((1.0/420.0)*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/420.0)*std::pow(theta02, 2)*(std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + std::pow(theta01, 2)*std::pow(theta31, 2) - std::pow(theta01, 2)*theta31 + theta01*std::pow(theta31, 3) - theta01*std::pow(theta31, 2) - std::pow(theta31, 3) + 1) - 1.0/420.0*std::pow(theta02, 2) + (1.0/1260.0)*std::pow(theta31, 3)*(3*std::pow(theta02, 2)*theta32 - 3*std::pow(theta02, 2) + 2*theta02*std::pow(theta32, 2) - 2*theta02*theta32 + std::pow(theta32, 3) - std::pow(theta32, 2)))/(-phi0 + phi2);
232  b_H[31] = (1.0/120.0)*theta02*std::pow(theta31, 4) + (1.0/120.0)*theta02*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) - 1.0/120.0*theta02 + (1.0/120.0)*std::pow(theta31, 4)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/120.0*std::pow(theta31, 4) + 1.0/120.0;
233  b_ImH[31] = -1.0/120.0*theta02*std::pow(theta31, 4) - 1.0/120.0*theta02*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) + (1.0/120.0)*theta02 - 1.0/120.0*std::pow(theta31, 4)*(theta02*theta32 - theta02 - theta32 + 1) + (1.0/120.0)*std::pow(theta31, 4);
234  b_D[31] = -0.0083333333333333332*theta02*(4*std::pow(theta01, 3)*theta31 - 4*std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 3*std::pow(theta01, 2)*theta31 + 2*theta01*std::pow(theta31, 3) - 2*theta01*std::pow(theta31, 2) + std::pow(theta31, 4) - std::pow(theta31, 3))/(-phi0 + phi1) - 0.0083333333333333332*std::pow(theta31, 4)*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/30.0)*theta02*std::pow(theta31, 3) + (1.0/120.0)*theta02*(std::pow(theta01, 4) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + 4*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) - 4*std::pow(theta31, 3)) + (1.0/30.0)*std::pow(theta31, 3)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/30.0*std::pow(theta31, 3))/(phi1 - phi3) - 1.0*((1.0/120.0)*std::pow(theta01, 4)*theta31 - 1.0/120.0*std::pow(theta01, 4) + (1.0/120.0)*std::pow(theta01, 3)*std::pow(theta31, 2) - 1.0/120.0*std::pow(theta01, 3)*theta31 + (1.0/120.0)*std::pow(theta01, 2)*std::pow(theta31, 3) - 1.0/120.0*std::pow(theta01, 2)*std::pow(theta31, 2) + (1.0/120.0)*theta01*std::pow(theta31, 4) - 1.0/120.0*theta01*std::pow(theta31, 3) + (1.0/120.0)*std::pow(theta31, 4)*(theta32 - 1))/(-phi0 + phi2);
235  b_H[32] = (1.0/840.0)*(16*std::pow(theta02, 4)*std::pow(theta31, 5) - 20*std::pow(theta02, 4)*std::pow(theta31, 4) + 4*std::pow(theta02, 4) - 8*std::pow(theta02, 3)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 5) + 10*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 10*std::pow(theta02, 3)*std::pow(theta31, 4) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 16*std::pow(theta02, 2)*std::pow(theta31, 5) - 20*std::pow(theta02, 2)*std::pow(theta31, 4) + 4*std::pow(theta02, 2) - 4*theta02*std::pow(theta31, 5) + 5*theta02*std::pow(theta31, 4) - theta02 + 4*std::pow(theta31, 5) - 5*std::pow(theta31, 4) + (-theta02*(std::pow(theta01, 4)*std::pow(theta31, 2) - 2*std::pow(theta01, 4)*theta31 + std::pow(theta01, 4) + 2*std::pow(theta01, 3)*std::pow(theta31, 3) - 4*std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 + 3*std::pow(theta01, 2)*std::pow(theta31, 4) - 6*std::pow(theta01, 2)*std::pow(theta31, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 4*theta01*std::pow(theta31, 5) - 8*theta01*std::pow(theta31, 4) + 4*theta01*std::pow(theta31, 3) - 4*std::pow(theta31, 5) + 5*std::pow(theta31, 4) - 1) + std::pow(theta31, 4)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 5*theta02 + 4*theta31*theta32 - 4*theta31 + std::pow(theta32, 2) - 6*theta32 + 5))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
236  b_ImH[32] = 1.0/840.0 - 1.0/840.0*(16*std::pow(theta02, 4)*std::pow(theta31, 5) - 20*std::pow(theta02, 4)*std::pow(theta31, 4) + 4*std::pow(theta02, 4) - 8*std::pow(theta02, 3)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 5) + 10*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 10*std::pow(theta02, 3)*std::pow(theta31, 4) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 16*std::pow(theta02, 2)*std::pow(theta31, 5) - 20*std::pow(theta02, 2)*std::pow(theta31, 4) + 4*std::pow(theta02, 2) - 4*theta02*std::pow(theta31, 5) + 5*theta02*std::pow(theta31, 4) - theta02 + 4*std::pow(theta31, 5) - 5*std::pow(theta31, 4) + (-theta02*(std::pow(theta01, 4)*std::pow(theta31, 2) - 2*std::pow(theta01, 4)*theta31 + std::pow(theta01, 4) + 2*std::pow(theta01, 3)*std::pow(theta31, 3) - 4*std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 + 3*std::pow(theta01, 2)*std::pow(theta31, 4) - 6*std::pow(theta01, 2)*std::pow(theta31, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 4*theta01*std::pow(theta31, 5) - 8*theta01*std::pow(theta31, 4) + 4*theta01*std::pow(theta31, 3) - 4*std::pow(theta31, 5) + 5*std::pow(theta31, 4) - 1) + std::pow(theta31, 4)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 5*theta02 + 4*theta31*theta32 - 4*theta31 + std::pow(theta32, 2) - 6*theta32 + 5))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1);
237  b_D[32] = 0.0011904761904761906*theta02*(4*std::pow(theta01, 3)*std::pow(theta31, 2) - 8*std::pow(theta01, 3)*theta31 + 4*std::pow(theta01, 3) + 6*std::pow(theta01, 2)*std::pow(theta31, 3) - 12*std::pow(theta01, 2)*std::pow(theta31, 2) + 6*std::pow(theta01, 2)*theta31 + 6*theta01*std::pow(theta31, 4) - 12*theta01*std::pow(theta31, 3) + 6*theta01*std::pow(theta31, 2) + 4*std::pow(theta31, 5) - 8*std::pow(theta31, 4) + 4*std::pow(theta31, 3))/(-phi0 + phi1) - 0.0011904761904761906*std::pow(theta31, 4)*(-4*theta02*theta31 - 2*theta02*theta32 + 6*theta02 + 4*theta31 + 2*theta32 - 6)/(phi2 - phi3) - 0.0011904761904761906*(80*std::pow(theta02, 4)*std::pow(theta31, 4) - 80*std::pow(theta02, 4)*std::pow(theta31, 3) - 8*std::pow(theta02, 3)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 10*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 40*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 40*std::pow(theta02, 3)*std::pow(theta31, 4) + 40*std::pow(theta02, 3)*std::pow(theta31, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 40*std::pow(theta02, 3)*std::pow(theta31, 3) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*((1.0/2.0)*(2 - 2*theta31)*(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/std::pow(std::pow(theta31, 2) - 2*theta31 + 1, 2) + (1.0/2.0)*(4*std::pow(theta02, 2)*theta31 - 4*std::pow(theta02, 2) + 2*theta31 - 2)/(std::pow(theta31, 2) - 2*theta31 + 1))*(std::pow(theta31, 2) - 2*theta31 + 1)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 80*std::pow(theta02, 2)*std::pow(theta31, 4) - 80*std::pow(theta02, 2)*std::pow(theta31, 3) - 20*theta02*std::pow(theta31, 4) + 20*theta02*std::pow(theta31, 3) + 20*std::pow(theta31, 4) - 20*std::pow(theta31, 3) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-theta02*(2*std::pow(theta01, 4)*theta31 - 2*std::pow(theta01, 4) + 6*std::pow(theta01, 3)*std::pow(theta31, 2) - 8*std::pow(theta01, 3)*theta31 + 2*std::pow(theta01, 3) + 12*std::pow(theta01, 2)*std::pow(theta31, 3) - 18*std::pow(theta01, 2)*std::pow(theta31, 2) + 6*std::pow(theta01, 2)*theta31 + 20*theta01*std::pow(theta31, 4) - 32*theta01*std::pow(theta31, 3) + 12*theta01*std::pow(theta31, 2) - 20*std::pow(theta31, 4) + 20*std::pow(theta31, 3)) + std::pow(theta31, 4)*(-4*theta02*theta32 + 4*theta02 + 4*theta32 - 4) + 4*std::pow(theta31, 3)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 5*theta02 + 4*theta31*theta32 - 4*theta31 + std::pow(theta32, 2) - 6*theta32 + 5)))/((phi1 - phi3)*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)) - 1.0*((1.0/840.0)*(-16*std::pow(theta02, 3) - 8*theta02)*(16*std::pow(theta02, 4)*std::pow(theta31, 5) - 20*std::pow(theta02, 4)*std::pow(theta31, 4) + 4*std::pow(theta02, 4) - 8*std::pow(theta02, 3)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 8*std::pow(theta02, 3)*std::pow(theta31, 5) + 10*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 10*std::pow(theta02, 3)*std::pow(theta31, 4) - 2*std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 2*std::pow(theta02, 3) + 16*std::pow(theta02, 2)*std::pow(theta31, 5) - 20*std::pow(theta02, 2)*std::pow(theta31, 4) + 4*std::pow(theta02, 2) - 4*theta02*std::pow(theta31, 5) + 5*theta02*std::pow(theta31, 4) - theta02 + 4*std::pow(theta31, 5) - 5*std::pow(theta31, 4) + (-theta02*(std::pow(theta01, 4)*std::pow(theta31, 2) - 2*std::pow(theta01, 4)*theta31 + std::pow(theta01, 4) + 2*std::pow(theta01, 3)*std::pow(theta31, 3) - 4*std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 + 3*std::pow(theta01, 2)*std::pow(theta31, 4) - 6*std::pow(theta01, 2)*std::pow(theta31, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 4*theta01*std::pow(theta31, 5) - 8*theta01*std::pow(theta31, 4) + 4*theta01*std::pow(theta31, 3) - 4*std::pow(theta31, 5) + 5*std::pow(theta31, 4) - 1) + std::pow(theta31, 4)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 5*theta02 + 4*theta31*theta32 - 4*theta31 + std::pow(theta32, 2) - 6*theta32 + 5))*(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1) + 1)/std::pow(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1, 2) + (1.0/840.0)*(-16*std::pow(theta02, 4)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) + 20*std::pow(theta02, 4)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))/std::sqrt(2*std::pow(theta02, 2) + 1) - 4*std::pow(theta02, 3)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 64*std::pow(theta02, 3)*std::pow(theta31, 5) + 5*std::pow(theta02, 3)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) - 80*std::pow(theta02, 3)*std::pow(theta31, 4) - std::pow(theta02, 3)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1)*(4*theta02*std::pow(theta31, 2) - 8*theta02*theta31 + 4*theta02)/(2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1) + 16*std::pow(theta02, 3) - 24*std::pow(theta02, 2)*std::pow(theta31, 5)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 24*std::pow(theta02, 2)*std::pow(theta31, 5) + 30*std::pow(theta02, 2)*std::pow(theta31, 4)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) + 30*std::pow(theta02, 2)*std::pow(theta31, 4) - 6*std::pow(theta02, 2)*std::sqrt((2*std::pow(theta02, 2)*std::pow(theta31, 2) - 4*std::pow(theta02, 2)*theta31 + 2*std::pow(theta02, 2) + std::pow(theta31, 2) - 2*theta31 + 1)/(std::pow(theta31, 2) - 2*theta31 + 1))*std::sqrt(2*std::pow(theta02, 2) + 1) - 6*std::pow(theta02, 2) + 32*theta02*std::pow(theta31, 5) - 40*theta02*std::pow(theta31, 4) + 8*theta02 - 4*std::pow(theta31, 5) + 5*std::pow(theta31, 4) + (16*std::pow(theta02, 3) + 8*theta02)*(-theta02*(std::pow(theta01, 4)*std::pow(theta31, 2) - 2*std::pow(theta01, 4)*theta31 + std::pow(theta01, 4) + 2*std::pow(theta01, 3)*std::pow(theta31, 3) - 4*std::pow(theta01, 3)*std::pow(theta31, 2) + 2*std::pow(theta01, 3)*theta31 + 3*std::pow(theta01, 2)*std::pow(theta31, 4) - 6*std::pow(theta01, 2)*std::pow(theta31, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 4*theta01*std::pow(theta31, 5) - 8*theta01*std::pow(theta31, 4) + 4*theta01*std::pow(theta31, 3) - 4*std::pow(theta31, 5) + 5*std::pow(theta31, 4) - 1) + std::pow(theta31, 4)*(-4*theta02*theta31*theta32 + 4*theta02*theta31 - theta02*std::pow(theta32, 2) + 6*theta02*theta32 - 5*theta02 + 4*theta31*theta32 - 4*theta31 + std::pow(theta32, 2) - 6*theta32 + 5)) + (4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1)*(-std::pow(theta01, 4)*std::pow(theta31, 2) + 2*std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) - 2*std::pow(theta01, 3)*std::pow(theta31, 3) + 4*std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 - 3*std::pow(theta01, 2)*std::pow(theta31, 4) + 6*std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 4*theta01*std::pow(theta31, 5) + 8*theta01*std::pow(theta31, 4) - 4*theta01*std::pow(theta31, 3) + 4*std::pow(theta31, 5) + std::pow(theta31, 4)*(-4*theta31*theta32 + 4*theta31 - std::pow(theta32, 2) + 6*theta32 - 5) - 5*std::pow(theta31, 4) + 1) - 1)/(4*std::pow(theta02, 4) + 4*std::pow(theta02, 2) + 1))/(-phi0 + phi2);
238  b_H[33] = (1.0/840.0)*std::pow(theta02, 2)*std::pow(theta31, 4) + (1.0/840.0)*std::pow(theta02, 2)*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) - 1.0/840.0*std::pow(theta02, 2) + (1.0/840.0)*std::pow(theta31, 4)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/840.0*std::pow(theta31, 4) + 1.0/840.0;
239  b_ImH[33] = -1.0/840.0*std::pow(theta02, 2)*std::pow(theta31, 4) - 1.0/840.0*std::pow(theta02, 2)*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) + (1.0/840.0)*std::pow(theta02, 2) - 1.0/840.0*std::pow(theta31, 4)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) + (1.0/840.0)*std::pow(theta31, 4);
240  b_D[33] = -0.0011904761904761906*std::pow(theta02, 2)*(4*std::pow(theta01, 3)*theta31 - 4*std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 3*std::pow(theta01, 2)*theta31 + 2*theta01*std::pow(theta31, 3) - 2*theta01*std::pow(theta31, 2) + std::pow(theta31, 4) - std::pow(theta31, 3))/(-phi0 + phi1) - 0.0011904761904761906*std::pow(theta31, 4)*(std::pow(theta02, 2) + 2*theta02*theta32 - theta02 - 2*theta32)/(phi2 - phi3) - 1.0*((1.0/210.0)*std::pow(theta02, 2)*std::pow(theta31, 3) + (1.0/840.0)*std::pow(theta02, 2)*(std::pow(theta01, 4) + 2*std::pow(theta01, 3)*theta31 - std::pow(theta01, 3) + 3*std::pow(theta01, 2)*std::pow(theta31, 2) - 2*std::pow(theta01, 2)*theta31 + 4*theta01*std::pow(theta31, 3) - 3*theta01*std::pow(theta31, 2) - 4*std::pow(theta31, 3)) + (1.0/210.0)*std::pow(theta31, 3)*(std::pow(theta02, 2)*theta32 - std::pow(theta02, 2) + theta02*std::pow(theta32, 2) - theta02*theta32 - std::pow(theta32, 2) + 1) - 1.0/210.0*std::pow(theta31, 3))/(phi1 - phi3) - 1.0*((1.0/420.0)*theta02*std::pow(theta31, 4) + (1.0/420.0)*theta02*(std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + std::pow(theta01, 3)*std::pow(theta31, 2) - std::pow(theta01, 3)*theta31 + std::pow(theta01, 2)*std::pow(theta31, 3) - std::pow(theta01, 2)*std::pow(theta31, 2) + theta01*std::pow(theta31, 4) - theta01*std::pow(theta31, 3) - std::pow(theta31, 4) + 1) - 1.0/420.0*theta02 + (1.0/840.0)*std::pow(theta31, 4)*(2*theta02*theta32 - 2*theta02 + std::pow(theta32, 2) - theta32))/(-phi0 + phi2);
241  b_H[34] = (1.0/210.0)*theta02*std::pow(theta31, 5) + (1.0/210.0)*theta02*(std::pow(theta01, 5)*theta31 - std::pow(theta01, 5) + std::pow(theta01, 4)*std::pow(theta31, 2) - std::pow(theta01, 4)*theta31 + std::pow(theta01, 3)*std::pow(theta31, 3) - std::pow(theta01, 3)*std::pow(theta31, 2) + std::pow(theta01, 2)*std::pow(theta31, 4) - std::pow(theta01, 2)*std::pow(theta31, 3) + theta01*std::pow(theta31, 5) - theta01*std::pow(theta31, 4) - std::pow(theta31, 5) + 1) - 1.0/210.0*theta02 + (1.0/210.0)*std::pow(theta31, 5)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/210.0*std::pow(theta31, 5) + 1.0/210.0;
242  b_ImH[34] = -1.0/210.0*theta02*std::pow(theta31, 5) - 1.0/210.0*theta02*(std::pow(theta01, 5)*theta31 - std::pow(theta01, 5) + std::pow(theta01, 4)*std::pow(theta31, 2) - std::pow(theta01, 4)*theta31 + std::pow(theta01, 3)*std::pow(theta31, 3) - std::pow(theta01, 3)*std::pow(theta31, 2) + std::pow(theta01, 2)*std::pow(theta31, 4) - std::pow(theta01, 2)*std::pow(theta31, 3) + theta01*std::pow(theta31, 5) - theta01*std::pow(theta31, 4) - std::pow(theta31, 5) + 1) + (1.0/210.0)*theta02 - 1.0/210.0*std::pow(theta31, 5)*(theta02*theta32 - theta02 - theta32 + 1) + (1.0/210.0)*std::pow(theta31, 5);
243  b_D[34] = -0.0047619047619047623*theta02*(5*std::pow(theta01, 4)*theta31 - 5*std::pow(theta01, 4) + 4*std::pow(theta01, 3)*std::pow(theta31, 2) - 4*std::pow(theta01, 3)*theta31 + 3*std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 2*theta01*std::pow(theta31, 4) - 2*theta01*std::pow(theta31, 3) + std::pow(theta31, 5) - std::pow(theta31, 4))/(-phi0 + phi1) - 0.0047619047619047623*std::pow(theta31, 5)*(theta02 - 1)/(phi2 - phi3) - 1.0*((1.0/42.0)*theta02*std::pow(theta31, 4) + (1.0/210.0)*theta02*(std::pow(theta01, 5) + 2*std::pow(theta01, 4)*theta31 - std::pow(theta01, 4) + 3*std::pow(theta01, 3)*std::pow(theta31, 2) - 2*std::pow(theta01, 3)*theta31 + 4*std::pow(theta01, 2)*std::pow(theta31, 3) - 3*std::pow(theta01, 2)*std::pow(theta31, 2) + 5*theta01*std::pow(theta31, 4) - 4*theta01*std::pow(theta31, 3) - 5*std::pow(theta31, 4)) + (1.0/42.0)*std::pow(theta31, 4)*(theta02*theta32 - theta02 - theta32 + 1) - 1.0/42.0*std::pow(theta31, 4))/(phi1 - phi3) - 1.0*((1.0/210.0)*std::pow(theta01, 5)*theta31 - 1.0/210.0*std::pow(theta01, 5) + (1.0/210.0)*std::pow(theta01, 4)*std::pow(theta31, 2) - 1.0/210.0*std::pow(theta01, 4)*theta31 + (1.0/210.0)*std::pow(theta01, 3)*std::pow(theta31, 3) - 1.0/210.0*std::pow(theta01, 3)*std::pow(theta31, 2) + (1.0/210.0)*std::pow(theta01, 2)*std::pow(theta31, 4) - 1.0/210.0*std::pow(theta01, 2)*std::pow(theta31, 3) + (1.0/210.0)*theta01*std::pow(theta31, 5) - 1.0/210.0*theta01*std::pow(theta31, 4) + (1.0/210.0)*std::pow(theta31, 5)*(theta32 - 1))/(-phi0 + phi2);
244  }
245 
246 }//equivalent_polynomials
247 #endif
equivalent_polynomials::_calculate_b< 2 >
void _calculate_b< 2 >(double theta01, double theta02, double theta31, double theta32, double phi0, double phi1, double phi2, double phi3, double *b_H, double *b_ImH, double *b_D)
Definition: equivalent_polynomials_coefficients_quad.h:31
equivalent_polynomials
Definition: equivalent_polynomials.h:12
equivalent_polynomials::_calculate_b
void _calculate_b(double *X_0, double *b_H, double *b_ImH, double *b_dH)
equivalent_polynomials::_calculate_b< 1 >
void _calculate_b< 1 >(double theta01, double theta02, double theta31, double theta32, double phi0, double phi1, double phi2, double phi3, double *b_H, double *b_ImH, double *b_D)
Definition: equivalent_polynomials_coefficients_quad.h:12
equivalent_polynomials::_calculate_b< 3 >
void _calculate_b< 3 >(double theta01, double theta02, double theta31, double theta32, double phi0, double phi1, double phi2, double phi3, double *b_H, double *b_ImH, double *b_D)
Definition: equivalent_polynomials_coefficients_quad.h:68
equivalent_polynomials::_calculate_b< 4 >
void _calculate_b< 4 >(double theta01, double theta02, double theta31, double theta32, double phi0, double phi1, double phi2, double phi3, double *b_H, double *b_ImH, double *b_D)
Definition: equivalent_polynomials_coefficients_quad.h:135