added script used to compute error on set of results