Added function to calculate an Spatial Accuracy Index (SAI) and its corresponding test script