fixed index issues in dotprod.go