updates to RRBS pipeline and some new R functions