Update trap_simple.m