updating SprErr function

in 14 minutes and 19 seconds, using 0 compute credits, and was queued for 3 minutes and 31 seconds