Updated results

Fixed some errors in the code