bug in qr decomposition with vectorz matrices fixed

For vectorz `to-vector` creates vector of its own type while implementation assumed to work with persistent vector.