Basis-independent treatment of the complex 2HDM | Synapse