Modified zsqr functor to take doubles as input.