Vectorized histogram computation in edge_orientations. Speedup by ~30%.
Convolution + vectorization improvements => 15% speedup.