Added another simulation, since the first one had an error of 2*pi in frequency.