A computational model for driver's cognitive state, visual perception and intermittent attention in a distracted car following task