Merge branch 'dev'
Passes R CMD check and installs. Bump to v0.2