Averaging of the nonlinear Schrödinger equation with highly oscillatory magnetic potentials. (June 2017)