added confusion function for calculating the most confused label; updated latex document for question 3 answer;