flipped axes in FD code