fix errors in results.r and add dimension of F
results png files