add modified Morris method function
roxygenize