Stochastic dynamic simulation of a protein