Cleanup to power supply noise code in codesign_system
[MAJOR] codesign_system is now a function

Respun codesign_system as a function
Use test_codesign_system to automatically set up inputs
codesign_system_script is a copy of the old version