Slight changes to addition and subtraction.

Changed scope of addition and subtraction functions. Thoroughly
commented existing code.