Optimized matrix openmp to work better with MKL