Refactored the coefficient calculation processor