Regular Transformations in Sequential Optimization & Reinforcement Learning