Design and Analysis for a 4-Stage Crash Energy Management System for Railway Vehicles