fixed Job.extract_matrix