Found and fixed the dot product bug.