altered average_rating method to keep numbers as floats. test now passes