Upgraded & Debugged Functions

-MAIN
-Made it a function with 3 input variables

SEGMENT DATA:
-Replaced variable names for loops
-Changed column(1) and column(15) removals

FFT
-Debugged FFT (removed FFT over each sample -1 less loop-)

Plot Frequency
-Added dynamic plotting abilities