Add symcheck.py for checking matrices for symmetry (Hermiticity)