Renamed variables to be more clear

I wanted to make sure that others reading the code could more easily
tell what I intended when writing the code.