Naming cleanup

I mostly tightened up some of the naming conventions you guys used in the main source code. One-letter variable names are not descriptive enough. I also factored out integer division into its own class, in case that algorithm ever changes.