Parameter-finding function updated to use cacheing

A few other minor tweaks.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>