Calculation of the anisotropy field distribution in magnetic particle assemblies: the influence of thermal fluctuations