Ram Accelerator Operation in Railed and Baffled Tubes