This change adds matrix generation scripts

The data is collected from the database, and numpy arrays are created.