SMS: Fundamentals of Traffic Simulation