Use bytes for scores
Better atan2f
Add integral_alloc
Add draw_line
Use integral_alloc
Cleanup