Adding optimal data files
Adding function to generate optimal data: