Add comment to minDifference and maxDifference which explain an error that
could happen so it's presence is known

Add check after calculating the baseline to make sure its not to high
and lies above the threshold value + 200
Update variable name to better indicate use.
Add variable minPointsInBaseline to adjust the minimal number of points
there should be in a baseline
Add release build of the dll