Fixed the bug in the line class that would return the value for the first line's next vertex as being nil.