Fixed OpenMP parallel pragma so variables that should be private to threads are explicitly private and those that should be shared are explicitly shared.
Fixed OpenMP parallel pragma so variables that should be private to threads are explicitly private and those that should be shared are explicitly shared.

git-svn-id: cc674101e2b794ddc2100b657215d55256e3fd48@13686 fe389314-cf27-0410-b35b-8c050e845b92

jhunkeler/hstcal,jhunkeler/hstcal,jhunkeler/hstcal