fixed event generation when start is 0, fixes #3
fix for degenerated lines (less than 2 points), fixes #2
wrapper functions to avoid some deprecation warnings
release 0.3.2