Added noise component (training data can now be noisified).