Optimal Task-Invariant Energetic Control For Powered Exoskeletons