Added offsets to extract functions
Cleaned up test case.

There was no need to create the matrix, it was just wasting runtime
Starting to set up two domain test scripts
Added function to copy all boundaries from matrix to matrix
Copy boundaries from x to f
Iteration in first two domain test code