A simple and robust geometric algorithm for landmark registration in computer assisted neurosurgery