found maximum area and fixed wavelet indexing to be .5 wavelet_size, but stuff doesn't work now

issue appears to be in is_edge_straight