International Journal of Algebra and Computation, 25(7) (2015), 1159-1177 http://dx.doi.org/10.1142/S0218196715500356