CRA-534: Some small changes to 2D interpolation and included WriteToFile() in the class DistributionWithTrendStorage.