Ensure Sherpa is initialised only once and mutex calls to its Soft_Photon_Handler.
Rearrange initialisation of PHOTOS to mirror Sherpa.
These are modifications to the Sherpa interface to ensure that it is thread safe.
The Sherpa initialisation is not thread safe and forces us to create a global static object and mutexing wherever it is used. We have to make sure that we initialise the Sherpa instance only once and also initialise all interface class members for each thread.
The structural changes done for the Sherpa interface have been propagated to the PHOTOS interface for consistency.