Linear fitting routine with residuals perpendicular to fit line running, possibly calculating chisq incorrectly.
Linear fitting routine with residuals perpendicular to fit line running, possibly calculating chisq incorrectly.

E-J-W/Gridlock