Pseudospectral Knotting Methods for Solving Nonsmooth Optimal Control Problems | Synapse