code for the 3rd try on CRAN. added GPL license, instead of MIT. included only 1 example instead of 3 because of run times. data invoking problem fixed. other formatting issues fixed.