implemented fast extraction of values from Spin0
see if boundary periodicity is handled properly