Is It Possible to Assign a Numerical Value to Each Selection in a Matrix, so the Values Can Be Used in Calculations?