almost finished the slope equation function. still need to iterate through panel to extract all slope values. also still need to output data into spreadsheets.