I would have expected that `parametersFreedom_[i] = true` meant that the parameter were free, not the other way around.
I realize this comes from the current `ProjectedCostFunction` code and thus we can't change the behavior, but at least I'd change the parameter name. Do you have any suggestions?