polyfit working properly, issues prevail, added to freq anaylsis in parser