A computational model for brain-shift assessment in neurosurgery