Smart Cautery: Enhancing Safety in Electrocautery Procedures