Checked code and fixed warnings (methylation package)