In fitting function file, add models for all circuits of interest. Also add logic to interpret from config file the circuit type.