add FRET calculation routine