The derivation of photofragment angular distributions in homonuclear diatomic molecules