A few trivial changes

Changed case of function, changed order of comment to reflect condition statement, added a var in front of equation