Greatly refactored! Changed to (SPI, L, AJ) interface, sanitized inputs, and all 3 cases of unresolved resonances in File 2 seem to work.