dist.t = [
    0
    4.9
    5    
    23
    23.1
    24   
    ];

dist.p = [
    .01
    .01
    .05
    .05
    .01
    .01
    ];