Mechatronic Design for an Extrusion-Based Additive Manufacturing Machine