removed hard coded indices
removed hard coded indices

Removed hard coded indices and replaced with a function to find
corresponding variables in redcap
Fixes #133

radiasoft/radtrack,radiasoft/radtrack