Symbolic computation of nonlinear wave interactions on MACSYMA