Change variable names to be more descriptive

Change the variable names to be more descritive and to remove ambiguity.  In doing this argprase could be adjusted to greatly simplify the code and make it more readable and maintainable.