Cosserat Rod Theory In Flexural Modeling For Soft Robotic Snakes