T SquaredDifference(T input1, T input2) {
  const T difference = input1 - input2;
  return difference * difference;
}
T SquaredDifference(T input1, T input2) {
  const T difference = input1 - input2;
  return difference * difference;
}