Small change, huge performance gain

The dot product itself is now about 9 times faster