Python System Identification Algorithm Example Math