Bend calculations work
Train works