private void Build() { MappingCount = mIDs.Length; VariableCount = mVarNames.Length; Mappings = new Dictionary <string, T[]>(); Variables = new Dictionary <string, string>(); for (int i = 0; i < VariableCount; i++) { Variables.Add(mIDs[i], mVarNames[i]); } for (int i = 0; i < MappingCount; i++) { Mappings.Add(mIDs[i], MatrixExtension <T> .GetRow(i, mVarValues)); } }