Added performance tests and modified testmat I, failing test evident.