Mathematical models of cerebral hemodynamics for detection of vasospasm in major cerebral arteries