Initialized variables properly to eliminate check NOTES.

Variables that were not properly passed/initialized were generating NOTES during R CMD check.  Eliminated.