Added a fix to use a reference input to read the vkey instead of just reading the vkey from the input (as originally intended).
Added a fix to use a reference input to read the vkey instead of just reading the vkey from the input (as originally intended).