Added scale_image to speed the framerate.
Fix some glitches with edge detection, added n_edges, changed to resolution_radians.