fix elo0!=0
now you can use non zero values for elo0, and the typeI and typeII values will be correct.
also cleaned up the code, and removed the discrete_stop() algorithm, that we dont need anymore.