First simulation
Test passed for naive chp prediction
Added adaptive threshold update points (plot)