Update calcratings.php to use the new ratings model

Uses the new implementation for the Ratings.php model