Separated noise calculation code from code that adds data to graph object.
Added noise calculations code (for real).