used cos instead of sin
minor comment updates
Merge pull request #5 from dschen/carolyn

edited simulate
Merge pull request #6 from dschen/dorothy

minor bug fix, comments
set debug mode at top of simulate to 1 if you want to just look at the simulated image (if RGB values are 0 to 255). Otherwise set to 0 for inputed RGB values from 0 to 1 (the output of lms2rgb)
Merge branch 'master' of https://github.com/dschen/429 into carolyn