removed pdb imports and traces
updated discrete example in matlab interface