added ability to read in pre-computed light curves