Removed bug from sequential version.

GraphSpeed was reset at every iteration, this is incorrect, because the variable
is also used to keep the old value for the next iteration.