Electronic structure of magnetic impurities calculated from first principles | Synapse