fixed a stupid little bug in the R script. Deciles should be correct now.
Merge pull request #37 from dblodgett-usgs/master

R script bug fix.