Refactor pyramid building to use one record per cell

Provide a CDB_TorquePixel_dump to extract values from the pixel
(tested, but missing from the examples)