Update lightcurve.py

Added functions for finding lightcurves for single periods of a star. This is separate from the main project, so it isn't integrated into any of the scripts.