small corrections. Submitted to CRAN