added threading to the XCs, fixed a memory access error, and fixed a bug where i forgot to compute the absolute value
added threading to the XCs, fixed a memory access error, and fixed a bug where i forgot to compute the absolute value

bakerb845/ispl,bakerb845/ispl,bakerb845/ispl,bakerb845/ispl