ENH : added warp function to return phi

azimuthal angle at each pixel
ENH : useful itertool helper function

Lifted from python documentation, link in source
ENH : added beam-center refinement

Added function with refines the center of the powder pattern.

Requires the whole ring to be visible as it relies on a Fourier
component.