Tutorial for computing fourth-order statistics