change simulation of stc to have sorted vertno
pep8 fixes
added searchsorted
Merge pull request #438 from joewalter/bug_in_simulator

change simulation of stc to have sorted vertno