I think your bases matrix isn’t getting transposed properly. I get this (which is the transposition of what you have…)
[ 0.085674709490373, 0.0079191852023138, 0.05204293804988, 0.03197420657061, 0.045223146375938, 0.0023314794589638, 0.0039372002040182, 0.0038699399501186, 0.01478845258603, 0.0080417761855798, 0.0022050250123904, 0.0065740141262804, 0.0063085450087277, 0.0047901609930548, 0.010411467483957, 0.0033764051888803, 0.0058990764417425, 0.0023025896685506, 0.012101805358861, 0.080493093461577, 0.060185117980584 ]
[ 0.0083929806658832, 0.0074708199357045, 0.0019209180915349, 0.022967991470978, 0.0027073470102263, 0.038065870652227, 0.011633050231146, 0.045505435276381, 0.035159049747797, 0.020211121723468, 0.038955816681973, 0.008712647950673, 0.0013243673049267, 0.018350288245232, 0.00080243001903751, 0.02995517014857, 0.010193799514974, 0.016692135912115, 0.010306635553661, 0.0015255021385617, 0.0037402818271701 ]
[ 0.0013259181890063, 0.0067061531443768, 0.00077327329365581, 0.0040031781816148, 0.0073180366327661, 0.0015669898440095, 0.019493443795557, 0.011948641810645, 0.034758050974006, 0.038045925735573, 0.016021448524029, 0.038988309109179, 0.011464492399067, 0.016557545347153, 0.016985487799292, 0.0055518478885504, 0.0059763837818836, 0.017512417994185, 0.016405246227172, 0.0018815777467274, 0.0075625428969702 ]
[ 0.0081873810743327, 0.040497147459184, 0.02126545420998, 0.0016642543209231, 0.026382973654522, 0.001518080838795, 0.017428106936046, 0.013446634410339, 0.0012845649821746, 0.0058535227702705, 0.0014400492658014, 0.010970707376913, 0.0030337868457204, 0.00086099918877666, 0.0091376657472844, 0.0010590883053682, 0.018070734801476, 0.0048846771418888, 0.025596328061799, 0.0042812242211347, 0.018858887150459 ]
[ 0.0079707451536959, 0.016870692464001, 0.0085980386323731, 0.01861018087591, 0.0055277453900817, 0.025555044739261, 0.0019728888275963, 0.016632003979259, 0.011800297457422, 0.0050303428954418, 0.025907054740648, 0.008534634829314, 0.018929387319417, 0.01492450881549, 0.0061620632810704, 0.0075217362518437, 1.6637379916186e-05, 0.022969752537689, 0.025134804878052, 0.0040245133606798, 0.015961968726224 ]
[ 0.0086283320876439, 0.009138615379195, 0.0020787787022085, 0.0044148174067338, 0.016972230928363, 0.016394041393093, 0.008930154150839, 0.0077876503369629, 0.0015977628028999, 0.006619856088527, 0.014118608851225, 0.013974084607581, 0.033917438058206, 0.023514721079221, 0.01990058998866, 0.025931885879047, 0.0091700882176388, 0.015379282141517, 0.0011029652547944, 0.00078994419776027, 0.0083972547542706 ]
[ 0.013085592424813, 0.0063355639991285, 0.0058346789807448, 0.029215884704483, 0.019098999656677, 0.0066567974618289, 0.017583188074248, 0.0011848011683011, 0.0044270303215932, 0.00068432311180218, 0.0042184860527867, 0.0096234997928294, 0.0047563292688204, 0.018182901958542, 0.0041179009643925, 0.017322727072062, 0.017291735899902, 0.0028919137597426, 0.014635578143606, 0.0029434597637052, 0.011263005876615 ]
[ 0.0042535343458144, 0.0072372520364664, 0.00039164665544676, 0.013642486055104, 0.0041254428390509, 0.015384842831492, 0.0062893233950345, 0.0026467093890891, 0.015564495882282, 0.011239404633756, 0.0054804104158681, 0.017561656703572, 0.016611366419268, 0.0012369170976294, 0.003412568188145, 0.00042788663179312, 0.013394070856364, 0.026624383302695, 0.0095299495796588, 0.0028561992492781, 0.0051409440422136 ]
[ 0.0021044670026056, 0.006255476236883, 0.00637558497291, 0.012323339462485, 0.0072983199952654, 0.0051769437127049, 0.0025162471424515, 0.0036627295005421, 0.018955340197964, 0.0025377531013111, 0.0021156550536501, 0.0012788637521185, 0.012228320669971, 0.0097257392350349, 0.012119579660571, 0.013371037061235, 0.019993468089938, 0.014125802085269, 0.0020352804473049, 0.0074041742330056, 0.016239149668947 ]
[ 0.00074818141104052, 0.017773935145402, 0.00130787663503, 0.001534900488151, 0.00037757595328643, 0.023421631952837, 0.0073204467152689, 0.0056564505684015, 0.0034269890851497, 0.022968179346448, 0.0046424680637725, 0.0074313854357354, 0.011017288098414, 0.014071536338836, 0.0041811675650504, 0.0020388421261906, 0.0096380867586319, 0.0038724805158962, 0.0074110009535502, 0.00084002778905312, 0.0011936966393881 ]
[ 0.004894445578257, 0.01575126255459, 0.0047431122935968, 0.0014026277184994, 0.017383540737843, 0.0080976580766987, 0.0084367439532285, 0.015184219282728, 0.0046992969775539, 0.0053086668330665, 0.0013173870891018, 0.013808140413974, 0.0078669175758944, 0.0040401403131575, 0.0020880787421356, 0.00023939976594711, 0.0028877453580486, 0.0023606185594488, 0.0025845897418905, 0.012680365320616, 0.018244831095103 ]
[ 0.00035981599887115, 0.0077252051087999, 0.008552128487124, 0.018025306293651, 0.01282992105167, 0.0058604289146545, 0.0068665120172219, 0.0092915605129709, 0.01361737632363, 0.0063299185241133, 0.0091048847600762, 0.0049705751400286, 0.00030581164443482, 0.0041319240220118, 7.7501491614522e-06, 0.00039349297613731, 0.006819488899209, 0.0020614784479674, 0.011325672557314, 0.00091123193961607, 0.0059106866063441 ]
[ 0.001792158625188, 0.0035776577180831, 0.0072196935843671, 0.0069498090126289, 0.0027487229956641, 0.00080146443817238, 0.016422676939613, 0.0099163006965667, 0.0033203350246128, 0.0096196235480229, 0.014185594344144, 0.0089786071873625, 0.00095866266326462, 0.00028034860155236, 0.0043021300502587, 0.012888597870793, 0.00019863522004347, 0.00026259446732948, 0.014214451716567, 0.003212536139351, 0.005930109087753 ]
[ 0.00063546264238881, 0.010975098563057, 0.0020928306731365, 0.0017351265694202, 0.0068883102499328, 0.0077848376506567, 0.0011725604767238, 0.015144804013246, 0.0024383654679059, 0.0074914035871718, 0.00076259006857333, 0.0053007412528261, 0.00029325808233155, 0.012424831646323, 0.013140794596996, 0.0066739916667348, 0.0038582285033647, 0.0053577605833942, 0.002707600068163, 0.0064597413208824, 0.0051429354840724 ]
[ 0.00036483447658797, 0.00019843009290776, 0.0016478141104618, 0.0034611838971775, 0.0015455148875124, 0.0027353308733717, 0.010752217084163, 0.0042416633527924, 0.0025158109467384, 0.0055545949073104, 0.0090076013365739, 0.0003207493838618, 0.011524614917701, 0.0059080343974163, 0.00336494261777, 0.012893463133743, 0.00049834822321349, 0.0017917505498284, 0.0081035859795332, 0.0054768320114716, 0.0056869174896271 ]
[ 0.0032390021988444, 0.0031284440710511, 0.01565910883367, 0.0059598953586971, 0.0038377091061078, 0.0055109753907824, 0.00051057752607999, 0.0030607526543794, 0.0014814146215818, 0.0053410359886931, 0.001933751266325, 0.0052137148092426, 0.0031276493056885, 0.00085742306205917, 0.0049996416980219, 0.00040089948321749, 0.001015788135776, 0.0035255782639993, 0.00087237658158395, 0.0085155817193951, 0.0030080709663397 ]
[ 0.0027818564326403, 0.00026251080354188, 0.0048951511733444, 0.0019392339884695, 0.0022014757564584, 0.0018093996468832, 0.0034520823684344, 0.0040887207157837, 0.0041327716873124, 0.0023699646967616, 0.0061565326112835, 0.0023687891819669, 0.0016332229443169, 0.0038984782231403, 0.0090287061229179, 0.0013354006069786, 0.0041622045756598, 0.0073922617185721, 0.0062446162496238, 0.0027291503162106, 0.0043204200136989 ]
[ 0.0002155332869862, 0.0039455993198548, 0.0047497210349999, 4.1748577909669e-05, 0.0073226753480411, 0.004711000680639, 0.0078020174133999, 0.002635216631746, 0.004964714796884, 0.0025923686231001, 0.0020391867416874, 0.0032545966117301, 1.8551000095464e-06, 0.0035384790511058, 0.0035449905139284, 0.00020845567200302, 0.0017050394197346, 0.0026118598737157, 0.00052241194420062, 0.0047238194763051, 0.0062325631549107 ]
[ 0.0088839270752737, 4.0568891407827e-05, 0.0024958736149295, 0.0026195699400858, 0.00026988597726977, 0.000332430767527, 0.0022967043494426, 0.00062674501363831, 0.0018035926539118, 0.00028322394579333, 0.00082553494308043, 7.1404840136407e-05, 0.00048342179455632, 0.00090992019686476, 0.00086701056406186, 0.00070254804690833, 0.00037453317033605, 0.00058885206454985, 1.8686243082883e-05, 0.0067265689858629, 0.0021768738145038 ]
[ 0.00059739790222988, 3.2969012034721e-05, 0.0011466346379692, 0.00038206127138069, 0.00061890339091356, 9.1672912327816e-05, 0.0012727421886293, 0.0014643378832309, 0.0020397368274985, 0.0027587688104809, 0.0030470828798425, 0.0036403986200049, 0.0027693861728218, 0.0027985492945377, 4.8761270448789e-05, 0.0011662903738832, 0.003888149049831, 0.0026681289820816, 0.0023446388390227, 0.00024547268739985, 0.00075214525906851 ]
[ 0.00036147074088183, 0.00014030759569665, 1.9387009023901e-05, 4.4459503052122e-06, 9.3445801047111e-06, 6.9819100689888e-05, 7.7026764772544e-05, 0.00016970274830559, 0.00024860370048162, 0.00041201858119262, 0.00053877102244087, 0.00062065864186089, 0.00095447158443799, 0.0011907234619355, 0.0017384499577933, 0.0013305691440203, 0.0016343095520464, 0.00088441451467647, 0.00060346208432582, 2.6532030450951e-06, 4.9062642529061e-05 ]