- converted functions to variables

The idea is that once we figure out these locations, we shouldn't need to find them out again. As such, I've cached their values by making them variables instead of functions.

While not the best benchmark, the attached image should be evidence enough of the performance implications of this change.
![2014-01-18-032742_1364x143_scrot](https://f.cloud.github.com/assets/93686/1946673/8c15fb4c-801a-11e3-807f-204bdcbf354a.png)