Code formatting changes to attention.lua

Makes things so much easier to read.