matrix_generate.cpp recovered from /panasas/scratch/<netezza_folder>