Updated sparse quotmod logic to follow dense now using Arrays

Sparse quotmod is slower than dense quotmod probably due to
requirements for coeff array formation and then long division followed
by conversion to Terms -> Map again. Whereas in dense, coeffs already
exist as LE style arrays ready to go.
Perhaps could do some updates on Array methods to stop scala wrapping
unwrapping