matrix multiply successful, all memory leaks fixed