Works out average rating when 1 rating
Added average rating logic to restaurant model