Vectorized trapModel

it was running at 55s per frame on my machine, now it's foughly 5fps