Added more instantiations of localInnerProduct on a simple word type.