How to find minimum or maximum of combined values of R^2 after performing fit line on a bivariate plot in JSL