T16: Shweta, Shubham: Bug Fix: Rating calculation done properly