Bug fix, function arguements included local variables

Replaced function.func_code.co_varnames with
inspect.getargspec