Updated NOTES.txt and R scripts.