Variational calculation of the dynamics of a two level system interacting with a bath | Synapse