Improved matrix speed