version 1.0! Just about ready for submission to cran.