Create extract_sols.m