Design optimisation of braided composite beams for lightweight rail structures using machine learning methods