Solenoid magnet design;: The magnetic and mechanical aspects of resistive and superconducting systems