Ye olde dot product.