add parameters for realCombineLosses
closes #14