Fixed prob with interpolation when elev < seg end
Merge branch 'master' of github.com:aleaf/SFR into mnf