Temporarily change of dot to old version for complex types as complex return does not work on 32 bit machines. Add tests for matrix and vector multiplication.