Initial commit.
Add simulateSNR()