Use of multiple contractions in the computation of the Hodge dual of a differential form