Switch to 2d matrix conversion.