Update Retrieval.php

Adding in some additional debugging for detecting what is being stored in the variables for parameters and functionname.