parallelized the flux renormalization function to speed things up