Compute center of pixel values for cube of rectangular frames. (xc, yc) is returned (in pixel coordinates of axis 1 and 2)
cent_flux()