importdatafile.m is more robust as is determining baseline light period