calculate_pH now successfully displays plots, allows choosing a lambda max, and returns the selected datapoint index to the function. Next I need to calculate the ionic strength, molar absorbtivities, concentrations, activities using debye-huckel, pH using henderson-hasselbach for the optical data and using analytical concentrations by themselves