for learning

Dependencies:   mbed FastPWM

Revision:
241:01a01b683a42
Parent:
240:bffaba802829
Child:
242:3a69403240a1
diff -r bffaba802829 -r 01a01b683a42 main.cpp
--- a/main.cpp	Sun Jan 03 06:18:00 2021 +0000
+++ b/main.cpp	Mon Jan 04 08:31:04 2021 +0000
@@ -1,4 +1,4 @@
-//210103_2  500Hz   num_input 13    210102 data
+//210104_1  500Hz   num_input 13    210102 data
 #include "mbed.h"
 #include "FastPWM.h"
 #include "INIT_HW.h"
@@ -199,68 +199,64 @@
 float input_NN[num_input] = { 0.0f };
 
 const float h1[num_input][16] = {
-    {2.122974395751953f,-0.38776177167892456f,-0.42449960112571716f,2.0468480587005615f,-0.18718937039375305f,0.11834079772233963f,-0.03311857581138611f,-0.054195523262023926f,-1.8910423517227173f,-0.04320235922932625f,-0.1637221872806549f,-0.022264301776885986f,1.3689982891082764f,-1.3352489471435547f,-0.014840304851531982f,-1.893905758857727f},
-{1.054883599281311f,-0.38444966077804565f,0.1132459044456482f,1.1167829036712646f,0.1572902798652649f,0.1293565332889557f,0.15329760313034058f,-0.20474094152450562f,-1.1521263122558594f,0.0402907058596611f,0.2308642417192459f,0.027331318706274033f,1.1790597438812256f,-0.25108602643013f,0.11683917045593262f,-1.3148897886276245f},
-{0.3260919451713562f,-0.20189961791038513f,-0.20909681916236877f,0.35111910104751587f,-0.20735450088977814f,0.16978304088115692f,-0.21266265213489532f,0.12177395820617676f,-0.4303519129753113f,-0.47478383779525757f,0.25495073199272156f,-0.4649527668952942f,0.9698973298072815f,-0.6320164799690247f,0.21537500619888306f,-0.6965923309326172f},
-{-0.2091784030199051f,-0.2055417001247406f,-0.27100086212158203f,0.13696816563606262f,-0.09469953179359436f,-0.2871801257133484f,-0.10579374432563782f,0.09893089532852173f,0.08474475890398026f,-0.09117371588945389f,-0.0946950688958168f,-0.1597663164138794f,0.10443052649497986f,0.40466687083244324f,-0.44673171639442444f,0.4296048581600189f},
-{-1.072396993637085f,-0.4420686662197113f,-0.23704257607460022f,-1.532881498336792f,-0.06314542889595032f,-0.190965935587883f,-0.1467491090297699f,-0.32198232412338257f,0.672989547252655f,0.3549209535121918f,0.15744635462760925f,0.08820515871047974f,-1.0165066719055176f,0.3843304216861725f,0.2870906591415405f,0.9832358956336975f},
-{-2.5933806896209717f,-0.49318426847457886f,0.24129003286361694f,-2.101083517074585f,0.25041860342025757f,-0.3333922326564789f,0.1312219500541687f,0.4296189546585083f,1.8742114305496216f,-0.0453566238284111f,-0.30207350850105286f,-0.02464285120368004f,-2.6114871501922607f,1.7934314012527466f,0.21352016925811768f,2.4308128356933594f},
-{1.4060094356536865f,-0.4593402147293091f,-0.17035451531410217f,-2.0941596031188965f,-0.2231789529323578f,-0.7733786106109619f,-0.30459409952163696f,0.08766061067581177f,-1.5012120008468628f,-0.5738863348960876f,0.28786879777908325f,0.07115523517131805f,1.3073227405548096f,-2.0536022186279297f,-0.13316160440444946f,0.612513542175293f},
-{0.4193624258041382f,0.2952363193035126f,0.1189124584197998f,-0.801013708114624f,-0.19704079627990723f,-0.9535843133926392f,-0.3993116319179535f,0.13529682159423828f,-0.09175866842269897f,-0.22769828140735626f,-0.18271225690841675f,-0.2803727984428406f,-0.12039829790592194f,-0.569157600402832f,-0.350609689950943f,-0.19401194155216217f},
-{-0.6279920339584351f,-0.3600463271141052f,0.32874053716659546f,0.9218637347221375f,-0.43446803092956543f,-0.6581318378448486f,-0.3732292056083679f,-0.03713726997375488f,1.1847983598709106f,-0.3185393214225769f,-0.014060413464903831f,0.1525433510541916f,-1.4669981002807617f,2.6286604404449463f,0.24592554569244385f,-0.5994797348976135f},
-{-0.4040067791938782f,-0.45135271549224854f,-0.43931299448013306f,0.20023031532764435f,-0.40003886818885803f,-0.09406930953264236f,-0.28505805134773254f,-0.025462865829467773f,0.2026372104883194f,0.09695766121149063f,0.012715869583189487f,0.2449764609336853f,-0.8653539419174194f,0.32294973731040955f,0.21423685550689697f,-0.5703613758087158f},
-{-0.5376168489456177f,0.2158193290233612f,-0.38009896874427795f,0.14540553092956543f,0.3989499807357788f,0.24190852046012878f,0.444122850894928f,0.2396908402442932f,0.059057943522930145f,0.20812928676605225f,-0.49277493357658386f,0.04622955247759819f,-0.04156821593642235f,-0.7683967351913452f,-0.06324887275695801f,-0.4491087794303894f},
-{-0.29452797770500183f,-0.3503324091434479f,0.009307235479354858f,0.20129835605621338f,0.0268385112285614f,0.5140036344528198f,-0.3031163811683655f,0.11987882852554321f,-0.20511949062347412f,-0.31979477405548096f,0.3825034499168396f,-0.2279401421546936f,0.10135215520858765f,-1.0714203119277954f,0.12017554044723511f,-0.07516074925661087f},
-{-0.27208060026168823f,0.07206348329782486f,0.10736191272735596f,0.3668510317802429f,-0.3137713074684143f,0.08469216525554657f,0.283999502658844f,-0.3683045208454132f,0.5107637643814087f,0.42085954546928406f,0.06602732837200165f,0.31689608097076416f,-0.6041010618209839f,-0.5318670868873596f,0.3271452784538269f,-0.37038949131965637f},
+    {-1.7883694171905518f,-0.45463424921035767f,-0.2839047312736511f,1.2998100519180298f,-0.33689749240875244f,0.13957270979881287f,-1.768027901649475f,-0.12179985642433167f,-0.27851659059524536f,-0.4581797420978546f,-0.14496277272701263f,-0.32080626487731934f,0.4633115231990814f,-1.2730870246887207f,-0.032087743282318115f,-0.45051202178001404f},
+{-0.4427539110183716f,0.05035844445228577f,0.4216882884502411f,1.4083539247512817f,-0.1029549166560173f,0.04124972224235535f,-1.6880098581314087f,-0.11460760235786438f,0.17519989609718323f,0.17889311909675598f,-0.06908946484327316f,0.24828574061393738f,-0.07761001586914062f,-0.78352952003479f,-0.42565810680389404f,-0.06308093667030334f},
+{-0.37764886021614075f,0.024281948804855347f,-0.08727949857711792f,0.3325396776199341f,-0.39779379963874817f,-0.18726888298988342f,-0.7526484131813049f,-0.4743514060974121f,0.3403044044971466f,0.12795385718345642f,-0.25222209095954895f,-0.24311088025569916f,-0.48405230045318604f,0.04977412521839142f,0.16838398575782776f,0.19961872696876526f},
+{-0.3858879506587982f,-0.18194743990898132f,0.05750146508216858f,-0.45317989587783813f,0.306581050157547f,0.01832452416419983f,-0.22700533270835876f,-0.06508511304855347f,-0.21966031193733215f,0.11422428488731384f,0.15775159001350403f,0.47628095746040344f,-0.4265524446964264f,-0.13726623356342316f,-0.1459134817123413f,-0.2696315348148346f},
+{0.2968725264072418f,-0.16085124015808105f,-0.15226182341575623f,-1.1086862087249756f,-0.49200639128685f,0.03221622109413147f,1.1255673170089722f,-0.32345929741859436f,-0.10967591404914856f,0.30839303135871887f,0.24401596188545227f,0.3947426974773407f,0.389483243227005f,0.2735294699668884f,0.06405052542686462f,0.2644154727458954f},
+{1.9682456254959106f,0.08399084210395813f,-0.20522338151931763f,-2.5119502544403076f,-0.1260339319705963f,-0.2705743610858917f,2.7489781379699707f,0.14703187346458435f,-0.15355435013771057f,0.0354180634021759f,0.2553645670413971f,-0.08687198162078857f,-0.08389461040496826f,2.087846279144287f,0.3075520694255829f,0.48250874876976013f},
+{-0.845476508140564f,-0.4721580147743225f,-0.03862985968589783f,-0.39789900183677673f,0.18723386526107788f,0.24265405535697937f,-0.37100157141685486f,-0.001497030258178711f,-0.16290438175201416f,0.44411882758140564f,-0.21620848774909973f,-0.17081856727600098f,-0.19082289934158325f,-2.0097827911376953f,0.46546390652656555f,0.440778523683548f},
+{-0.6273850798606873f,-0.47692790627479553f,-0.2521989047527313f,0.04896736890077591f,-0.5648327469825745f,-0.23815488815307617f,-0.19890427589416504f,-0.489399790763855f,-0.4182613492012024f,0.2294718325138092f,-0.5235060453414917f,0.46587786078453064f,0.47976139187812805f,-0.9795910120010376f,-0.38790249824523926f,-0.24862796068191528f},
+{1.7036921977996826f,-0.41217344999313354f,0.38352569937705994f,-0.4010176658630371f,0.14379093050956726f,-0.47128796577453613f,0.09922374039888382f,-0.3142545819282532f,-0.4359320104122162f,0.42941734194755554f,0.007933054119348526f,0.0628947913646698f,-0.02243858575820923f,2.718656539916992f,0.0427795946598053f,0.06684485077857971f},
 };
 
 const float h2[16][16] = {
-    {-0.20274241268634796f,2.421971082687378f,0.3970688283443451f,0.1834750473499298f,2.4249231815338135f,0.5273239612579346f,-0.4416234493255615f,0.3705202639102936f,0.7134361267089844f,0.2516556680202484f,-1.4060431718826294f,-0.2831149697303772f,-0.05893652141094208f,-0.9120204448699951f,0.36879292130470276f,0.13572558760643005f},
-{-0.4029994606971741f,0.38608962297439575f,-0.1258525252342224f,0.30357667803764343f,0.3360573947429657f,0.36685335636138916f,-0.22937726974487305f,-0.002998271957039833f,-0.20960953831672668f,0.0450192466378212f,-0.16880837082862854f,0.17755672335624695f,0.2323802411556244f,0.2596715986728668f,0.3483935296535492f,0.1732930839061737f},
-{0.11663869023323059f,0.16539296507835388f,-0.18695728480815887f,-0.2917379140853882f,-0.30005210638046265f,0.26175805926322937f,-0.07184237241744995f,0.07815548777580261f,-0.12396180629730225f,0.1325257122516632f,0.05719554424285889f,0.26685407757759094f,-0.3447650372982025f,0.055430084466934204f,-0.4035770893096924f,-0.05605858564376831f},
-{-0.37363696098327637f,0.7793343663215637f,-0.21874599158763885f,0.40131691098213196f,-5.776402473449707f,0.0008264562929980457f,-0.03333192691206932f,-0.19506579637527466f,-1.8619548082351685f,-0.009909694083034992f,-1.4413032531738281f,0.06510794162750244f,-0.3263755142688751f,0.7545951008796692f,-0.212007537484169f,-0.35539939999580383f},
-{-0.27256131172180176f,-0.2740507423877716f,-0.4207117557525635f,-0.11853066086769104f,0.11417070031166077f,-0.11616286635398865f,0.4096128046512604f,-0.01269116997718811f,-0.18566495180130005f,0.07329544425010681f,0.357684463262558f,-0.02883175015449524f,-0.00022298097610473633f,0.13074633479118347f,0.15151432156562805f,0.20117709040641785f},
-{0.1631280481815338f,-0.3066669702529907f,-0.2956621050834656f,-0.20416049659252167f,-0.7335392236709595f,-0.170254185795784f,-0.18918344378471375f,-0.15483447909355164f,-0.4351620376110077f,0.2498018443584442f,-0.40331128239631653f,-0.35881948471069336f,-0.17363902926445007f,0.33837366104125977f,-0.4114897847175598f,-0.04338723421096802f},
-{0.07912376523017883f,0.20786848664283752f,0.35353556275367737f,-0.21646185219287872f,0.10170641541481018f,-0.3878430724143982f,-0.02557438611984253f,0.3767019212245941f,0.16915258765220642f,-0.3738635778427124f,-0.3689180314540863f,-0.059652626514434814f,0.3187622129917145f,-0.4291103780269623f,0.08102068305015564f,-0.3701837360858917f},
-{0.1521454155445099f,-0.27620697021484375f,0.16151782870292664f,-0.3318508565425873f,-0.03230056166648865f,0.2152136266231537f,0.04167729616165161f,-0.35635125637054443f,-0.4140225350856781f,-0.4184368848800659f,-0.3026992678642273f,-0.42655059695243835f,-0.30292224884033203f,-0.1371966302394867f,-0.4306396543979645f,-0.2759517729282379f},
-{0.18394997715950012f,-1.0212006568908691f,0.24676629900932312f,-0.07940912246704102f,-1.515834093093872f,-0.9244871735572815f,-0.18848899006843567f,0.1286889910697937f,-2.457322597503662f,-0.2793862223625183f,0.363804429769516f,-0.1368420124053955f,0.1348545402288437f,0.6231523752212524f,-0.1576608419418335f,0.13910707831382751f},
-{-0.25617533922195435f,-0.3932470977306366f,-0.4131093919277191f,0.2990696132183075f,-0.4584915339946747f,0.14110223948955536f,-0.22487886250019073f,-0.2127760350704193f,-0.6305164694786072f,0.010719792917370796f,-0.2152911275625229f,-0.2806147336959839f,0.3250197768211365f,-0.1093597263097763f,-0.4016580879688263f,0.0012068450450897217f},
-{0.17695042490959167f,0.42441698908805847f,-0.14654973149299622f,-0.2512646019458771f,0.28533807396888733f,-0.33422166109085083f,-0.35073933005332947f,-0.171255961060524f,0.292316734790802f,-0.2816634774208069f,0.15038667619228363f,0.32135525345802307f,0.2513468563556671f,0.22251132130622864f,-0.3458877503871918f,0.38228967785835266f},
-{-0.2570708394050598f,0.06738440692424774f,-0.2685445249080658f,-0.2199736088514328f,0.11006828397512436f,-0.0013313778908923268f,-0.06503403186798096f,-0.14890238642692566f,0.20612774789333344f,-0.3696085810661316f,0.13957753777503967f,0.006326436996459961f,-0.1564968228340149f,-0.43253979086875916f,0.026546984910964966f,0.21132752299308777f},
-{0.4071715176105499f,1.356438398361206f,-0.19858418405056f,-0.07120859622955322f,-1.4493643045425415f,0.41052812337875366f,-0.48465821146965027f,0.015368802472949028f,3.8531370162963867f,0.3758598864078522f,-1.0595192909240723f,-0.0878061056137085f,-0.08074226975440979f,-3.5286545753479004f,-0.3104020655155182f,0.4041280448436737f},
-{0.41842469573020935f,-0.2479589879512787f,0.4205797016620636f,-0.29916518926620483f,-0.7210080623626709f,-1.0200499296188354f,0.050872188061475754f,0.02579045481979847f,-4.840049743652344f,-0.7202125191688538f,-0.1097707450389862f,0.17138007283210754f,0.06840566545724869f,0.18428462743759155f,0.2775091230869293f,0.11071965098381042f},
-{-0.09231144189834595f,0.208247572183609f,0.2369612753391266f,-0.1378183364868164f,-0.10159772634506226f,-0.09860122203826904f,0.39953842759132385f,-0.3619869351387024f,0.05624133348464966f,0.057282477617263794f,-0.09186843037605286f,-0.3802386224269867f,0.33520951867103577f,-0.3143694996833801f,0.07573774456977844f,0.1171349585056305f},
-{-0.22812023758888245f,-2.06713604927063f,-0.39575254917144775f,-0.1444512903690338f,-0.36608341336250305f,-0.526474118232727f,-0.23619110882282257f,-0.08812745660543442f,4.559253692626953f,-0.39894798398017883f,2.622720956802368f,-0.11011743545532227f,0.1662178635597229f,-3.1915431022644043f,0.34983590245246887f,-0.1711532473564148f},
+    {-0.8097661137580872f,0.7751336097717285f,0.06591814756393433f,0.3595188558101654f,-0.9953898191452026f,-0.24430739879608154f,-0.8394995331764221f,-0.376254141330719f,-2.6380462646484375f,-0.18432429432868958f,0.16883811354637146f,0.015237206593155861f,-0.6998357772827148f,-2.04103684425354f,-0.41280850768089294f,-0.8164810538291931f},
+{0.34752365946769714f,-0.17533543705940247f,0.19135412573814392f,-0.4061374068260193f,0.2707955539226532f,0.00576367974281311f,0.19667378067970276f,0.07269266247749329f,-0.054787009954452515f,0.4008924067020416f,-0.40049079060554504f,0.37732359766960144f,0.17099538445472717f,0.08829596638679504f,0.2822680175304413f,-0.38239777088165283f},
+{0.4324493110179901f,0.058771997690200806f,-0.0780777633190155f,-0.052774280309677124f,-0.16421636939048767f,0.1633252203464508f,-0.2944433093070984f,0.22745093703269958f,0.3278034031391144f,0.0177156925201416f,-0.24747401475906372f,-0.2059430032968521f,-0.4051229655742645f,-0.06632378697395325f,-0.4072667360305786f,-0.38709303736686707f},
+{-1.567507028579712f,-1.4109982252120972f,-0.18536245822906494f,-0.2684984803199768f,-2.305070400238037f,-0.24686866998672485f,1.3053227663040161f,-0.4116160571575165f,-0.36331692337989807f,-0.3466106057167053f,0.42857471108436584f,-0.3007075786590576f,-0.042168259620666504f,0.2578425705432892f,-0.6675410270690918f,0.24615013599395752f},
+{0.13672879338264465f,0.4349014163017273f,-0.36269649863243103f,-0.4501327574253082f,-0.07302409410476685f,0.09705454856157303f,0.21129807829856873f,-0.2155061811208725f,0.15049593150615692f,0.25531962513923645f,0.05549708008766174f,0.05680525302886963f,-0.02482319250702858f,-0.08545741438865662f,0.10358260571956635f,0.016083789989352226f},
+{0.16876515746116638f,-0.4153529703617096f,-0.41067472100257874f,0.18582186102867126f,0.311185747385025f,0.29969552159309387f,-0.24332207441329956f,-0.34709492325782776f,0.10069718956947327f,0.29454949498176575f,-0.3811720013618469f,0.14177867770195007f,-0.1763446033000946f,-0.06526774168014526f,-0.3973313868045807f,0.16116413474082947f},
+{3.161842107772827f,1.813324213027954f,0.08488848805427551f,0.14448991417884827f,2.127821207046509f,0.03860316798090935f,-1.9885594844818115f,-0.014425694942474365f,1.3363128900527954f,-0.3126455545425415f,-0.05316048860549927f,-0.4524606168270111f,-0.31099119782447815f,-0.8805903792381287f,-0.4064253866672516f,-1.289167046546936f},
+{0.3088347017765045f,0.02946409583091736f,-0.3929365277290344f,0.28223761916160583f,0.3248874247074127f,0.37524572014808655f,-0.08634984493255615f,-0.011313468217849731f,0.10648080706596375f,-0.06610110402107239f,0.27164939045906067f,-0.1766958236694336f,-0.3451036512851715f,0.029073446989059448f,-0.2744661569595337f,0.2728559672832489f},
+{-0.0487900972366333f,0.25737670063972473f,-0.25131893157958984f,-0.40776774287223816f,0.29460909962654114f,-0.12406927347183228f,-0.16190826892852783f,0.33938923478126526f,-0.22534427046775818f,0.4074617326259613f,0.23821911215782166f,-0.026100903749465942f,0.4087975323200226f,-0.1151929497718811f,-0.3434309959411621f,0.09943464398384094f},
+{0.4065784513950348f,0.2943646013736725f,0.3593241274356842f,0.038563817739486694f,-0.4161318838596344f,-0.06716609001159668f,-0.017264336347579956f,-0.1709238588809967f,0.18639060854911804f,-0.14051833748817444f,-0.33766648173332214f,-0.21666832268238068f,-0.3090090751647949f,-0.22847671806812286f,0.1714741289615631f,0.26529058814048767f},
+{-0.1125127375125885f,0.24732618033885956f,0.2257293164730072f,-0.06758677959442139f,0.09487330168485641f,-0.19009117782115936f,0.35605335235595703f,0.2904532253742218f,0.07668860256671906f,0.11729857325553894f,0.3327282965183258f,0.33966195583343506f,0.1482735574245453f,0.0392952561378479f,0.1588987410068512f,-0.32188665866851807f},
+{-0.24463288486003876f,0.4161743223667145f,0.3158552348613739f,-0.05143579840660095f,0.16105768084526062f,0.013523787260055542f,-0.10674095153808594f,0.35569754242897034f,0.2522452771663666f,-0.08795404434204102f,-0.2898068428039551f,0.11101064085960388f,0.09649619460105896f,0.4126075208187103f,0.2019522488117218f,-0.422969251871109f},
+{0.22353973984718323f,-0.2633814811706543f,0.04568934440612793f,0.1311992108821869f,-0.23542527854442596f,-0.03958567976951599f,0.1596737802028656f,-0.2341456413269043f,0.02254578471183777f,0.003005474805831909f,0.20514342188835144f,-0.0693618655204773f,-0.013103008270263672f,-0.05333641171455383f,-0.11644524335861206f,-0.0855867862701416f},
+{-2.1323180198669434f,0.6066146492958069f,-0.2797568440437317f,0.39033082127571106f,-3.6824049949645996f,0.1833379566669464f,-1.620455265045166f,-0.35465970635414124f,-2.9798049926757812f,0.3849746882915497f,-0.353082537651062f,0.1653440296649933f,0.09627550095319748f,-3.461390733718872f,-0.036887817084789276f,-1.1503586769104004f},
+{0.4265109598636627f,0.2841578423976898f,-0.0129375159740448f,0.17165789008140564f,0.31623998284339905f,0.12060108780860901f,0.10198536515235901f,-0.42615756392478943f,-0.01067999005317688f,-0.2841525077819824f,-0.049186110496520996f,-0.16140210628509521f,-0.1371275782585144f,-0.34315556287765503f,0.3921898305416107f,0.3352498710155487f},
+{0.2984560430049896f,0.22180452942848206f,-0.3358560800552368f,0.15675464272499084f,-0.32109808921813965f,-0.33533772826194763f,-0.4004741609096527f,0.10305163264274597f,-0.17445865273475647f,-0.061798542737960815f,-0.21784162521362305f,-0.02895793318748474f,0.06257271766662598f,0.29289212822914124f,-0.048543781042099f,-0.14727312326431274f},
 };
 
 const float h3[16][16] = {
-    {-0.006790608167648315f,0.21018794178962708f,0.19160166382789612f,-0.09405046701431274f,-0.20767121016979218f,0.41050222516059875f,-0.17231479287147522f,-0.2754950523376465f,0.2988417446613312f,0.22258707880973816f,-0.4052674174308777f,-0.43136799335479736f,0.052298545837402344f,-0.16892734169960022f,0.3712175786495209f,-0.06832495331764221f},
-{-0.03865167498588562f,-0.10611102730035782f,-0.33619338274002075f,0.32088032364845276f,0.17324191331863403f,-0.291770339012146f,0.06339046359062195f,-1.2900278568267822f,2.254979133605957f,-3.3876941204071045f,-0.44062796235084534f,-7.36557149887085f,-1.7634016275405884f,0.391641229391098f,-0.10375964641571045f,0.03748287260532379f},
-{0.10098925232887268f,0.04721498489379883f,0.256857305765152f,0.3052078187465668f,0.03930395841598511f,0.3237522542476654f,-0.24151644110679626f,-0.3711833953857422f,-0.15678805112838745f,-0.255717396736145f,-0.17049190402030945f,0.3933774530887604f,0.3142060935497284f,0.07015183568000793f,-0.045980989933013916f,0.1601240336894989f},
-{0.31332454085350037f,-0.312250554561615f,-0.13433364033699036f,0.32684752345085144f,-0.39805084466934204f,-0.059238433837890625f,0.2678447663784027f,-0.10679224133491516f,-0.30091023445129395f,-0.3048761487007141f,-0.037360578775405884f,0.31614676117897034f,0.023632794618606567f,-0.27491989731788635f,0.29395321011543274f,0.3450176417827606f},
-{0.0049107372760772705f,-1.2520864009857178f,0.2015954554080963f,-0.277707040309906f,0.37562888860702515f,-0.39366021752357483f,0.10676625370979309f,-0.8682335019111633f,-0.27148571610450745f,0.4265214800834656f,0.7545055747032166f,-3.308232069015503f,0.8076616525650024f,-1.6762073040008545f,-2.6712536811828613f,-0.4618574380874634f},
-{0.21470609307289124f,-1.7353445291519165f,-0.2561623454093933f,-0.30005985498428345f,0.11890976130962372f,0.21759197115898132f,-0.19221603870391846f,0.20264285802841187f,1.0542842149734497f,-1.4650459289550781f,0.5328110456466675f,-0.8438037633895874f,-0.16612306237220764f,-0.2636428475379944f,-0.6987592577934265f,0.014738291501998901f},
-{-0.08789396286010742f,0.2853599190711975f,-0.32605651021003723f,-0.3530013859272003f,0.40897294878959656f,-0.43169721961021423f,0.3490438759326935f,-0.24153192341327667f,0.3819259703159332f,0.27927279472351074f,-0.41248786449432373f,0.10553863644599915f,0.04561987146735191f,-0.15471892058849335f,0.3892192542552948f,-0.17004820704460144f},
-{-0.31195756793022156f,0.3535780608654022f,0.37471166253089905f,0.2081839144229889f,-0.39857012033462524f,0.1478196680545807f,0.39524081349372864f,-0.3342057168483734f,-0.17245899140834808f,0.3294520378112793f,-0.3792600631713867f,0.09461972117424011f,-0.1773693859577179f,-0.13848626613616943f,0.2583646774291992f,0.4144686162471771f},
-{-0.145101398229599f,-3.2133281230926514f,0.08441874384880066f,0.2192457616329193f,-0.356086790561676f,0.09400740265846252f,-0.06423744559288025f,-0.4791902005672455f,-0.8166681528091431f,-0.33449169993400574f,0.8101168274879456f,-0.23406243324279785f,-0.31428906321525574f,-5.128968238830566f,-2.421018362045288f,-0.14175555109977722f},
-{0.031499654054641724f,-0.3453395366668701f,-0.3276645541191101f,-0.3151174783706665f,-0.41578027606010437f,0.09287729859352112f,0.06111881136894226f,0.20733843743801117f,0.592309296131134f,-0.4272315502166748f,0.5247583389282227f,-0.21140308678150177f,-0.21721763908863068f,0.014157879166305065f,-0.42281362414360046f,-0.3252115845680237f},
-{-0.3886617422103882f,2.009561061859131f,-0.15268433094024658f,-0.22167590260505676f,-0.3943225145339966f,-0.32775455713272095f,0.2432309091091156f,-0.21888288855552673f,-1.7100589275360107f,1.0955884456634521f,1.05848228931427f,0.24929127097129822f,3.7007298469543457f,0.41221246123313904f,-4.2899627685546875f,0.09496057778596878f},
-{0.10831388831138611f,-0.42922312021255493f,0.4159962236881256f,-0.4228442311286926f,-0.17440855503082275f,-0.14694729447364807f,-0.08575206995010376f,-0.03497600555419922f,0.12500670552253723f,0.1220981776714325f,0.42109981179237366f,0.2404528558254242f,0.15480300784111023f,-0.046617358922958374f,0.1445848047733307f,0.208059161901474f},
-{-0.16982737183570862f,-0.08366802334785461f,0.021271735429763794f,-0.23457923531532288f,0.3594605624675751f,0.12175920605659485f,0.196598082780838f,0.0048421225510537624f,0.455380380153656f,0.2666841447353363f,0.3527265787124634f,-0.36466607451438904f,-0.07807370275259018f,-0.024496499449014664f,0.24257664382457733f,-0.01678675413131714f},
-{-0.4233904778957367f,-0.5184310674667358f,0.10355612635612488f,-0.17819368839263916f,0.2248094230890274f,0.25831249356269836f,0.3987707197666168f,-0.20740818977355957f,0.3185001015663147f,-0.39416059851646423f,-0.7869706153869629f,-1.8323378562927246f,-2.679171562194824f,-1.9532601833343506f,0.510806143283844f,0.1838276982307434f},
-{0.4077700078487396f,-0.3607521951198578f,0.43178996443748474f,0.4325244724750519f,0.2711908519268036f,0.12385454773902893f,-0.39350762963294983f,0.3581089675426483f,0.4176264703273773f,-0.24286937713623047f,-0.2572516202926636f,0.3357771337032318f,-0.016610532999038696f,-0.244097501039505f,0.20021793246269226f,0.4071304500102997f},
-{0.03745567798614502f,0.31836649775505066f,-0.05532115697860718f,0.028223276138305664f,0.117482990026474f,0.3893933594226837f,0.3383820354938507f,-0.0021976232528686523f,-0.23759111762046814f,-0.31924113631248474f,-0.2046361118555069f,-0.3622658848762512f,-0.0513286292552948f,-0.18417160212993622f,-0.3451819121837616f,-0.2967826724052429f},
+    {-0.02643698640167713f,-0.2755740284919739f,0.08128300309181213f,-1.5207654237747192f,-5.2096428871154785f,0.18970921635627747f,-0.2964133620262146f,-0.3793707489967346f,-0.08693701028823853f,-0.07668569684028625f,0.4031309187412262f,0.32988476753234863f,-0.6238382458686829f,4.0084991455078125f,0.22881338000297546f,-0.3327188789844513f},
+{0.22584499418735504f,-0.1326952576637268f,-0.18772877752780914f,-5.234915256500244f,-4.41716194152832f,-0.06870052218437195f,0.0432734414935112f,0.03482282534241676f,1.320056438446045f,-0.38082894682884216f,0.03811123967170715f,0.2989121079444885f,-0.06552805006504059f,-1.0539226531982422f,-0.3490006923675537f,-0.42691171169281006f},
+{0.4027591049671173f,-0.35852956771850586f,0.1916603147983551f,-0.37850165367126465f,0.3672964870929718f,-0.080333411693573f,-0.42919081449508667f,0.04511451721191406f,-0.00907030701637268f,0.36009010672569275f,-0.028631895780563354f,-0.1722569763660431f,0.15599313378334045f,0.3582560122013092f,0.11625227332115173f,0.3080797493457794f},
+{-0.052018553018569946f,0.19556072354316711f,-0.22890567779541016f,0.060282766819000244f,-0.39251986145973206f,-0.08469546586275101f,-0.01590876281261444f,-0.03806373476982117f,-0.19273507595062256f,0.22553762793540955f,-0.252427875995636f,-0.3671976923942566f,0.40191277861595154f,0.12381575256586075f,0.10019633173942566f,0.08885172009468079f},
+{-0.2914789021015167f,0.3723916709423065f,-0.3462599217891693f,-1.73136305809021f,1.975680947303772f,-0.21339355409145355f,-1.3939493894577026f,-0.74403977394104f,-1.8642202615737915f,-0.048980265855789185f,-0.3299785256385803f,-0.279533326625824f,-0.42615726590156555f,-2.208137273788452f,0.17600378394126892f,0.00850456953048706f},
+{0.045872271060943604f,0.05869746208190918f,-0.09210774302482605f,0.09014458954334259f,-0.17593586444854736f,-0.013438642024993896f,0.352292001247406f,0.3049129247665405f,0.32296761870384216f,0.2149883210659027f,0.23977014422416687f,0.28307560086250305f,0.11732850968837738f,0.2319381684064865f,0.007813692092895508f,0.28354451060295105f},
+{-0.789146363735199f,-0.12077763676643372f,-0.19119325280189514f,1.2760741710662842f,0.24389496445655823f,-0.017598768696188927f,-0.7064037919044495f,-0.10469185560941696f,-0.5970723628997803f,-0.11532747745513916f,-0.056722819805145264f,0.3814484775066376f,-0.31997600197792053f,-1.0150946378707886f,-0.14341303706169128f,-0.16012617945671082f},
+{0.16168537735939026f,-0.14201807975769043f,0.31686219573020935f,0.32939019799232483f,-0.03147497773170471f,0.06020855903625488f,0.3478873670101166f,0.21861043572425842f,-0.22429123520851135f,0.08997645974159241f,0.3664763271808624f,0.19881102442741394f,-0.3636687994003296f,0.4147737920284271f,0.35453346371650696f,0.04604136943817139f},
+{-0.29032397270202637f,0.2014656960964203f,0.3735828697681427f,-3.4767823219299316f,0.3723301887512207f,-0.04499373957514763f,-1.9226545095443726f,-0.12762506306171417f,-3.0551106929779053f,-0.1410510540008545f,-0.21891158819198608f,-0.0514804981648922f,0.21170467138290405f,0.08071070909500122f,0.3318640887737274f,0.38097336888313293f},
+{0.16257891058921814f,0.0996694266796112f,0.31571391224861145f,0.4180311858654022f,-0.3418576419353485f,0.07709315419197083f,0.10617253184318542f,0.030579179525375366f,-0.4301612675189972f,-0.40217241644859314f,0.2697773873806f,-0.3769958019256592f,0.21873018145561218f,0.32099226117134094f,0.39489391446113586f,-0.08232983946800232f},
+{0.30355945229530334f,-0.16754642128944397f,-0.17802706360816956f,0.3668130338191986f,0.393145889043808f,-0.1775915026664734f,0.2905433475971222f,-0.23535001277923584f,0.014866620302200317f,0.2935905158519745f,0.21305260062217712f,-0.2576427757740021f,-0.1282729208469391f,0.08102831244468689f,-0.1525687277317047f,-0.3962980806827545f},
+{0.09458079934120178f,-0.06502637267112732f,-0.14729604125022888f,-0.2023160308599472f,0.14334037899971008f,0.3970796763896942f,-0.2100629359483719f,0.13434165716171265f,-0.3714185953140259f,-0.04645279049873352f,-0.03904131054878235f,0.07442107796669006f,0.08182266354560852f,0.1442231386899948f,-0.3469599783420563f,-0.08394241333007812f},
+{0.31716951727867126f,0.37310466170310974f,0.04558217525482178f,-0.024619603529572487f,-0.35640236735343933f,-0.13858580589294434f,0.1675865799188614f,-0.06046037748456001f,0.45132821798324585f,-0.31382226943969727f,-0.31836947798728943f,-0.20997725427150726f,0.23931129276752472f,-0.15012578666210175f,0.22412005066871643f,0.40503552556037903f},
+{-1.0875605344772339f,-0.17172768712043762f,0.004891842603683472f,1.8138242959976196f,-1.3255338668823242f,-0.445677787065506f,-2.6614365577697754f,-0.14806877076625824f,0.3814290463924408f,-0.41088005900382996f,-0.08766138553619385f,-0.43765169382095337f,-0.16162249445915222f,-9.137566566467285f,-0.18640238046646118f,0.1494446098804474f},
+{0.26066020131111145f,-0.14465180039405823f,-0.20034056901931763f,0.18326883018016815f,0.35252615809440613f,0.08189520239830017f,-0.024351125583052635f,-0.4500708281993866f,-0.23714295029640198f,-0.27530673146247864f,0.31583067774772644f,0.03354582190513611f,-0.0901034027338028f,0.22537380456924438f,-0.42483383417129517f,-0.3218538761138916f},
+{-0.20048221945762634f,0.108843594789505f,0.3671865165233612f,0.4460105895996094f,0.13388679921627045f,0.12575259804725647f,-0.1123369112610817f,0.16847138106822968f,-3.2939646244049072f,-0.2101392298936844f,-0.21029119193553925f,0.24813100695610046f,0.3112282156944275f,-0.19797347486019135f,0.41747143864631653f,0.23782846331596375f},
 };
 
-const float hout[16] = { 0.5272732973098755f,0.29130640625953674f,-0.5444002151489258f,-0.3080372214317322f,-0.46838802099227905f,0.22877520322799683f,0.12085825204849243f,0.11469389498233795f,-0.3717977702617645f,0.4081546664237976f,-0.34571924805641174f,2.4782423973083496f,-0.49329257011413574f,-0.18705929815769196f,0.470443993806839f,-0.07612967491149902f };
-
-const float b1[16] = { 0.6079384684562683f,0.7488086819648743f,0.2734024226665497f,0.6207621693611145f,-0.10124898701906204f,0.6065471768379211f,-1.3996264934539795f,-0.8490302562713623f,0.7256325483322144f,0.29943183064460754f,-0.413175493478775f,-0.18533024191856384f,1.0015991926193237f,1.0738469362258911f,-1.4473942518234253f,1.0611149072647095f };
-
-const float b2[16] = { -0.5715829730033875f,0.024753810837864876f,-0.5197042226791382f,-0.9603403210639954f,1.2647051811218262f,-0.4483911395072937f,-0.10769303143024445f,-0.356192022562027f,0.09464974701404572f,-0.2368306964635849f,0.5349050760269165f,-0.33337149024009705f,-0.4760465621948242f,1.2915849685668945f,-0.41767919063568115f,-1.0683845281600952f };
-
-const float b3[16] = { -2.198793888092041f,-0.39774423837661743f,-0.7633510828018188f,-1.8875172138214111f,-0.9303251504898071f,-0.5480363965034485f,-1.3439136743545532f,-0.1289718896150589f,0.781519889831543f,-0.049977123737335205f,0.3549143671989441f,-0.22415409982204437f,-2.2565112113952637f,1.0141292810440063f,1.966643214225769f,-0.3500630259513855f };
-
-const float bout[1] = { 0.2728830575942993f };
+const float hout[16] = { -0.11225982010364532f,-0.2134566605091095f,0.07871907949447632f,-0.5606526732444763f,0.7008025646209717f,-0.2648985683917999f,0.2135406881570816f,0.033082034438848495f,0.4726049304008484f,-0.123055100440979f,-0.3025188744068146f,0.42589515447616577f,-0.19023969769477844f,-0.7951573133468628f,-0.2641253173351288f,0.2001369595527649f };
+
+const float b1[16] = { 0.5834997296333313f,-2.3673934936523438f,-0.4688042402267456f,1.448708415031433f,0.29377326369285583f,-0.01529765222221613f,0.9366333484649658f,-0.27794721722602844f,0.08000090718269348f,-1.5066622495651245f,-0.06939087808132172f,-1.6357580423355103f,-0.5953267216682434f,0.339886873960495f,-0.3896206021308899f,-0.4488915205001831f };
+
+const float b2[16] = { 0.8083082437515259f,-0.38208523392677307f,-0.9702872037887573f,-1.0819950103759766f,0.5426400899887085f,-0.3815934956073761f,1.1829123497009277f,-0.2744872272014618f,0.3254140317440033f,-1.1183902025222778f,-1.18619966506958f,-0.18792088329792023f,-0.07468055188655853f,0.6703487634658813f,-0.037320978939533234f,0.13912257552146912f };
+
+const float b3[16] = { -0.38209134340286255f,-0.7163172960281372f,-0.3591786324977875f,0.5847482681274414f,1.2818635702133179f,-0.3154277205467224f,0.6467006802558899f,-0.04393617436289787f,0.6127511262893677f,-1.0913262367248535f,-0.6066873073577881f,-0.7334727048873901f,-0.048213500529527664f,-1.3823966979980469f,-0.6621314287185669f,-1.4114990234375f };
+
+const float bout[1] = { -0.1606179177761078f };
 
 float valve_ref_pos_buffer[10] = {0.0f};