added mchof.R to generate Roxygen, unsure about assertion based testing