Switched from hashmap scoring matrix to array for speed (frontend still incomplete)