Version submitted to CRAN (0.3)