Change how spin vector is asserted real
Change how spin vector is asserted real

This fixes #3.
Largest imaginary value was of the order of 1e-17 so the fix is
to use np.allclose rather than asserting exactly equal to 0.

mchels/cntSpectrum