Let python allocate GAMMA (still errors with too large matrices).