Another bugfix of trapmap.
First seeming complete working version of trapmap.
The Trapmap now runs without exceptions, and by eye the map seems to be correct.