Merge Ildar's dgemm

Put moved about some testing scripts.