Reduced memory footprint by changing all scoring variables to short from
int