added script to calculate Top-N error