Developed phaseform to a tolerable level, it's now workable for checking inp and known file pairs