changed circe-perceived-brightness function