Import the dot from the linalg library