Severe bug fix in triplet finding

There was a bug in the algorithm that searches for local triplets. In
one location, index j was used when fetching pbc_offsets when index l
was actually needed. One letter index error!