wrote data and noise generators. outputs to file. noise and data lengths need to be the same