Moved pointvec declaration into OMP loop

Because I don't know how OMP works that well, I didn't know if each
thread would be sharing the same pointvec if it was declared outside the
OMP loop. So I simply moved the declaration into the loop so I can be
sure all is well.