parallel inner product example