add optional debug statements for hw comparison to egamma algo