A global mathematical model of the cerebral circulation in man