Changed the ranking system to use a matrix for easy switching

This just switches our system to use a matrix instead.