Advanced technology for surgical planning