Calculates the Tendex of a basketball player