fixing bug where crystal structure array name was not being declared