add Grid::getValue to allow access to scalar grid values from python