Software allows driverless cars to interpret traffic 'more like humans'