How to program the Best Fit Slope