HAMA-681: change the name of methods in CostFunction and
SquashingFunction