Added function to determine level per rank, sp and sp for a level and rank