fixing a bug in the calculation of macs/cycle.  also increase the size of the input matrices