Added various benchmarks for memory copying strategies.
Optimize matrix assignment operators - don't use memcpy, it's slower than manually shuffling variables.