Do medium file loading inside main function
Allow run_mediums to loop over any parameter
Rename variable to avoid namespace clash between dimension and data
Add packing fraction calclation to spherelyse
Add check that medium dimension matches that of system