Update runlength

New test
Update bitmaps
Update bitmap
Rewrite quad_to_matrix
Update quad_to_matrix

Cropping function
Move function and struct declarations to header
Update quad_to_matrix