Added some text output to ParameterOptimizer for debugging.