Comprehensive First-Principles Engineering of TM-Doped InP Nanosheets for Multifunctional Device Platforms: Spintronics and Optoelectronics | Synapse