Python System Identification Algorithm Definition