added functions to make systems with double double and quad double coefficients square