% This function is part of the NMSM Pipeline, see file for full license.
%
% (Array of number, struct) -> (Array of number)
% returns the cost for MuscleTendonLengthInitialization optimization
function outputCost = computeMuscleTendonLengthInitializationCostFunction(parameterChange, ...
experimentalData)
values = makeMuscleTendonLengthInitializationValuesAsStruct(parameterChange, experimentalData);
modeledValues = calcMuscleTendonLengthInitializationModeledValues(values, experimentalData);
outputCost = calcMuscleTendonLengthInitializationCost(values, modeledValues, experimentalData);
end