Cur code to do SNR studies and get Tomek's results.