Electronic structure and magnetism of transition metal dihalides: Bulk to monolayer | Synapse