roll up goertzel magnitude processing, which also fixes a previous bug for incorrect magnitude calculations