Updated the R script to fix a bug, and added contributors on the first page