main.cc & lobe.h compilation correction

Intermediate step in converting pseudo code committed in past commits into
compilable C++11 code. Function, variable, and k_constant name updates in
main.cc and order correction in lobe.h to place class Lobe after class Cell
definition since Lobe uses Cell

Signed-off-by: Ahmed Mansour <ahmed.om@gmail.com>