Replace FlatBackground with CalculateFlatBackground algorithm.

It was meant to be a drop-in replacement. Refs #7499
Re #7499 There were a few missed calls to FlatBackground
Re #7499 Fix minor conflict