Simulation of inelastic spin flip excitations and Kondo effect in STM spectroscopy of magnetic molecules on metal substrates. (9th August 2018)