libviennacl: Added extensive tests for GEMM and fixed a couple of interfacing bugs.