Advancing work. prony method has some problems, reimplementing