An error-controlled G3-continuous oriented toolpath optimization algorithm and modified speed planning for five-axis machining | Synapse