Comprehensive Analytical Modeling of Laser Powder-Bed/Fed Additive Manufacturing Processes and an Associated Magnetic Focusing Module