Main script to analyze FRET data