Changes to make directional optimization possilbe. Includes changes to
physics.py and bv_data_assim_errors.py. Last commit message was lost. This time
I'm getting it in in a smiple way, having changed from optimizing nx to ny.