Contents:
write_occupations()
Write a dict of occupations out to an OCCMATRIX-like file filename : str, output filename occupations : dict of OrbitalOccupation, site occupations stored using site indices (from 0) as keys