added code to show matrix sizes, and ratio between matrix form and
factor time