Updated the frame_order_solution.py script for directly calculating the frame order matrix elements.
The MODEL variable has been added in preparation for supporting all model types, and this is now
added to the file name. The Grace header is now also being automatically generated and this matches
that for the frame_order_simulation.py script.