EI Added comments, organized vars, added vars

Added new variables to calculate the totals, and added comments to
explain previous variables. Organized the variables by givens, and
calculations.