Benchmarks on matrix manupulation