matrix generation script returned to normal
generated files to use for optimization