Error at line 100 of analyze_dpp.m 