fixed CRAN warnings/notes. closes issue #3