fix logging.  add object wrapper selection logic.  add naive calculation logic.  switch sample formula to be valid new syntax.