Robust procedures for converting among Lindblad, Kraus and matrix representations of quantum dynamical semigroups | Synapse