Optimizing Fused Deposition Modeling (FDM) Performance: A Comprehensive Study