Theoretical Study of the Magnetic and Optical Properties of Ion-Doped LiMPO4 (M = Fe, Ni, Co, Mn) | Synapse