[src] Replaced the dictionary by the OT ResourceMap. Added a minor check within the computeLogCharacteristicFunction to ovoid numerical round-off. Fixed some docstring