Fix some spelling errors and incorrect coordinate traversal in ascii[periodic].