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
Merge pull request #7 from dschen/carolyn

accounts for different scaled input of RGB images