Finish dgemm and test_dgemm; modify errors

Details:
- Finish dgemm
- Add test_dgemm to test suite
- Modify error handling slightly in all BLASpy functions