Changed method of generating negative examples.