make it so kappa is never out of range for gammafn
fix error in plot, pointsXYZ, remove print call in rdistSO3C
update vignette, add bib file, roxygenize pointsXYZ