changed benchmark test to use a configuration array to determine matrix sizes, and unset matrices in between tests