SignalShapeAnalyser is added. The bug in the swap function in HwController.cc is fixed