Improved rating display

New formula to more accurately calculate the number of stars.