Added code for program testing light curve periods