Added conditioning variables on external threads
Added history buffers
Modified openmp thread numbers
Direct access to lattice elements through maps
Added gain/offset error attributes