Calculating The Mode