Time Optimal Mixed Radix Conversion for Residue Number Applications