Vertical curve length calculator