Inserted a debug argument

The function is run as sqrt2(x); if debug is needed, the function can
the run as sqrt2(x,1)