brainstem function ap psychology