Trafficmodel: added a fix for a typecast bug
Merge branch 'trafficmodel_team1' of github.com:VanetSim/VanetSim into trafficmodel_team1