fix bug in test
fix bug in dgemm