added rotate_field.m which is called by single_axis_order.m