The bug is the fact that it isn't sampling enough times to plot a decent graph. Therefore change the code such that...