Speedup with matrix copy constructor