clean up getVariablesArraySize

no need to require an actual agent to be passed
make method naming more consistent (moveto -> moveTo)