Fixed bug in triangular distribution. Added test case for that bug.

git-svn-id: http://svn.code.sf.net/p/adevs/code/trunk@251 153d293f-9360-418f-87de-c6d3afdd7922
Performance optimizations (small ones) for dynamic structure models

git-svn-id: http://svn.code.sf.net/p/adevs/code/trunk@252 153d293f-9360-418f-87de-c6d3afdd7922