Zaslat SMS: The crystallography of metal halides formed within single walled carbon nanotubes