Version 1.0. Fixes problem with namespace. Submitted to CRAN