Shared Function Matrix Abacus Math