Atomic-Scale Modeling Of Twinning In Titanium And Other Hcp Alloys