Revert "Switching vector-dot-product example to use double for the intermediate results"

This reverts commit d987d50f3bce5728fafd195a1f63408a15e27ce5.