Computational modelling of global haemodynamics and its interaction with cerebrospinal fluid and brain dynamics with application