The Ehrhart polynomial of a matroid specializes to the beta invariant | Synapse