Implement transmission line models and perform some adjustments to the current models. Add some QA tests.