Using Math to Repair a 650-Year-Old Masterpiece