Added error simulations and explanation.