AI tool aims to help doctors, patients better prepare for surgery