modified:   local_calc.cpp : Seems to be working