trap-simulation-tools-matlab