changed noise addition in generate synthetic script