Multiscale methods for the simulation of molecular dynamics and stochastic models by