Add a working version of dgemm, some code refactoring still may be necessary on perf.c for the speed tests