created a function that would replace a team performance index with a bin number based on bin intervals