Added symmetry checking on coefficients and spin parity checking.