This is explained in detail on this page of Chris Rorden. See also the figure below, which was taken from the MRC CBSU Wiki.