Adds more accurate Bresenham implementation

Adds option "use_accurate_bresenham" for accurate Bresenham algorithm