Formulation and optimization of cubic polynomial joint trajectories for industrial robots | Synapse