Added detection of outliers, simple linear regression (for
detections of trends), and more flexible tralining average generation to
get stats functions
Added code to run retrieval and basic analysis on separate fiber