Added another part of MCM and the Dave Giles' R file