Sc diff array

Left commented print statements in the test,as uncommenting them provide any easy way to determine what has gone wrong if the test ever gets broken.