Gradient table flipping for MRtrix, Camino, FSL and Gibbs recon