Alignment for small displacements

Realtime detection works now, displacement only, no rotation. Masking
only the center pixel. Displacements are integers, displacements
smaller than 1 pixel are not observed.