AI: ship rating calculating algorithm improved