Pollsters are predicting a knife-edge US presidential election. They have been wrong in previous elections involving Donald Trump, but the complex science of representing American voters' opinions is evolving.