Updating scan point generation: easier to change endpoint and number of points
Fixed residuals function in fitVDM.py to not throw exceptions when graph y value is 0