how to calculate relative fitness