added an alternative ifdef'd version for computing the flux by rotating into and out of the x-axis.  just to have the code somewhere.