polys: Rewrote densearith and densetools doctests