Fixed bresenham's algorithm for sample sizing.
Putting in warnings for unimplemented formats.