20210203

Dependencies:   mbed FastPWM

Revision:
126:146cf8e5540b
Parent:
125:2397bee14630
Child:
127:15751f2bad9b
--- a/main.cpp	Wed Sep 16 03:40:55 2020 +0000
+++ b/main.cpp	Wed Sep 16 06:53:36 2020 +0000
@@ -1,4 +1,4 @@
-//200916-2
+//200916-3
 #include "mbed.h"
 #include "FastPWM.h"
 #include "INIT_HW.h"
@@ -193,82 +193,78 @@
 float input_NN[num_input] = { 0.0f };
 
 const float h1[num_input][16] = { 
-   {-0.2650415897369385f,-0.2266855090856552f,0.11304140090942383f,-0.16111214458942413f,0.000962256221100688f,-0.7015852332115173f,-0.15306922793388367f,-0.34351199865341187f,-0.2485356330871582f,-0.09949490427970886f,-0.17296874523162842f,-0.4418388903141022f,-0.45639923214912415f,0.1792629212141037f,-0.22528137266635895f,-0.046356771141290665f},
-{-0.34476131200790405f,0.05035892501473427f,-0.3440950810909271f,-0.12166793644428253f,-0.12978488206863403f,-0.564797043800354f,-0.3551466166973114f,-0.5403838157653809f,-0.0683736652135849f,0.06010306254029274f,-0.33323895931243896f,-0.2880015969276428f,0.008546403609216213f,-0.3312963545322418f,-0.1836855560541153f,-0.11869307607412338f},
-{-0.28798386454582214f,-0.0550663098692894f,0.3188004493713379f,-0.2729038596153259f,0.578967809677124f,-0.4359968304634094f,0.2516096830368042f,-0.2467883676290512f,-0.13996797800064087f,0.17826195061206818f,-0.513801097869873f,-0.15727214515209198f,0.0398615263402462f,-0.24707339704036713f,0.04897245764732361f,0.1179916262626648f},
-{-0.19986844062805176f,-0.14473193883895874f,0.34815579652786255f,-0.03571606054902077f,0.7015755772590637f,-0.4670792818069458f,-0.10148510336875916f,0.09462548792362213f,0.020932242274284363f,0.33684539794921875f,0.020999392494559288f,0.25216999650001526f,0.104360431432724f,-0.2532050311565399f,-0.2594349980354309f,0.46628695726394653f},
-{-0.23217283189296722f,2.836884021759033f,-0.004507303237915039f,0.963344156742096f,-5.92897891998291f,1.1453996896743774f,0.11336228251457214f,0.5257752537727356f,0.026472793892025948f,1.2131098508834839f,1.2210519313812256f,-0.1527392864227295f,-0.0646747425198555f,0.7959047555923462f,-0.33859342336654663f,-0.638805627822876f},
-{0.2451237589120865f,-0.4424527883529663f,0.19074231386184692f,0.9786537885665894f,-0.08557306975126266f,0.4897681772708893f,0.1446705460548401f,-0.4391725957393646f,0.029257990419864655f,-0.3657994270324707f,-0.6502208113670349f,0.6539005637168884f,-0.3794007897377014f,-0.23847676813602448f,-0.36205175518989563f,-0.4808618426322937f},
-{-0.09238868951797485f,-0.11141838133335114f,-0.21918344497680664f,-0.07423228025436401f,-0.38859713077545166f,0.4830581545829773f,0.05268651247024536f,-0.4287216067314148f,0.3201412558555603f,-0.18582354485988617f,-0.05627317354083061f,0.4872809052467346f,-0.32073190808296204f,0.04183678701519966f,-0.13682329654693604f,-0.28983333706855774f},
-{-0.17723223567008972f,-0.23719273507595062f,-0.23319895565509796f,0.10649680346250534f,-0.19495375454425812f,-0.17253482341766357f,-0.15703755617141724f,-0.40228527784347534f,0.024978138506412506f,0.036023057997226715f,0.09830993413925171f,-0.10601644963026047f,0.1375214159488678f,0.03312224894762039f,0.03769642114639282f,-0.11102518439292908f},
-{-0.05873361974954605f,0.3485785126686096f,0.08977723121643066f,-0.4136718511581421f,-0.01881062611937523f,-0.1027454286813736f,-0.06348633766174316f,-0.4452950358390808f,-0.23471727967262268f,0.324480265378952f,-0.16765698790550232f,0.17052753269672394f,0.004473761189728975f,0.18368199467658997f,-0.2676756680011749f,-0.09213045984506607f},
-{-0.2986011207103729f,-0.006048486568033695f,0.16173982620239258f,-0.44918394088745117f,0.42938488721847534f,-0.27215543389320374f,-0.26198261976242065f,-0.13064485788345337f,-0.004488010890781879f,-0.2150302678346634f,0.26757246255874634f,-0.741077184677124f,0.12457937747240067f,-0.01409436296671629f,0.3052974343299866f,-0.2758890390396118f},
-{0.16456854343414307f,0.3465326130390167f,0.32573211193084717f,-0.11032920330762863f,0.3078192174434662f,-0.4822096824645996f,-0.17817988991737366f,-0.04153018444776535f,-0.37137818336486816f,0.25947305560112f,0.5965789556503296f,-0.5917378664016724f,-0.24988068640232086f,0.20410633087158203f,0.23379981517791748f,-0.5647242665290833f},
-{-0.4494836926460266f,-0.9080290794372559f,-0.3532183766365051f,-0.9125430583953857f,1.6493059396743774f,-0.7588765025138855f,0.13436567783355713f,0.14007124304771423f,-0.12859687209129333f,0.21124646067619324f,-0.31362366676330566f,-0.497448593378067f,-0.07352820038795471f,0.19537241756916046f,0.09193113446235657f,-0.3929024636745453f},
-{-0.22864265739917755f,-0.3809680640697479f,0.173875629901886f,-0.28200459480285645f,1.1228809356689453f,-0.08153393864631653f,-0.21062730252742767f,-0.013611496426165104f,-0.1476786583662033f,-0.17484146356582642f,-0.09890472143888474f,-0.7095948457717896f,-0.19261428713798523f,0.10025075823068619f,-0.19507692754268646f,-0.8600208163261414f},
-{-0.37679407000541687f,0.19774684309959412f,0.36161231994628906f,-0.17996598780155182f,-0.007960074581205845f,-0.09807709604501724f,-0.2803434431552887f,-0.3882972300052643f,-0.10102713108062744f,-0.09765742719173431f,-0.10934720188379288f,-0.7794925570487976f,-0.6264658570289612f,0.03252812474966049f,0.04202204942703247f,-0.740649402141571f},
-{-0.03853116184473038f,0.9125444889068604f,0.1776806116104126f,0.30703380703926086f,-0.31755203008651733f,0.2315739542245865f,0.036818891763687134f,0.030226821079850197f,0.2836821973323822f,0.3701620101928711f,0.019196582958102226f,-0.9966630339622498f,-0.2679782807826996f,0.09686482697725296f,0.058527231216430664f,-0.9265385270118713f},
-{-0.0996430516242981f,1.2574621438980103f,-0.3542669713497162f,-0.5794497132301331f,-0.6418799161911011f,-0.5013198852539062f,-0.13638360798358917f,-0.36097314953804016f,0.19444529712200165f,0.9763175249099731f,0.6531984806060791f,-1.2213093042373657f,-0.4945835471153259f,0.9012706875801086f,-0.07223698496818542f,-0.865706205368042f},
-{0.5654222965240479f,-0.5102725028991699f,0.14635330438613892f,2.6740050315856934f,-1.6372088193893433f,2.1711809635162354f,-0.03628063201904297f,-1.0233087539672852f,-0.03756094351410866f,-1.5304253101348877f,-1.823265552520752f,2.1647331714630127f,0.17856623232364655f,-1.4666118621826172f,0.25779521465301514f,-0.3929840922355652f},
-{0.17067764699459076f,-0.5587964653968811f,0.18322283029556274f,1.1901689767837524f,-1.9191030263900757f,1.498706340789795f,-0.3163079023361206f,-0.349752813577652f,-0.3390539884567261f,-1.0395170450210571f,-0.9607593417167664f,1.3131834268569946f,0.4122202396392822f,-0.9036545157432556f,-0.2407861351966858f,0.14935609698295593f},
-{-0.3221697509288788f,-0.46991419792175293f,-0.2609631419181824f,-0.36409568786621094f,1.2114920616149902f,-0.6748901605606079f,0.2401489019393921f,-0.4093233346939087f,-0.33513402938842773f,0.036116499453783035f,-0.24113763868808746f,0.43791481852531433f,0.22877435386180878f,0.606373131275177f,-0.28592410683631897f,0.009643382392823696f},
-{0.02481945790350437f,-0.27907565236091614f,0.1335710883140564f,-1.5815545320510864f,2.0964059829711914f,-1.4364897012710571f,-0.1246849000453949f,-0.19263654947280884f,-0.13507309556007385f,0.5806243419647217f,0.7261980772018433f,0.03575444594025612f,0.2714070677757263f,1.2584396600723267f,0.1255095899105072f,0.609761118888855f},
-{-0.5438539981842041f,-0.7084044218063354f,-0.07108169794082642f,-0.9551764726638794f,2.052342653274536f,-1.4793479442596436f,0.13563674688339233f,0.21979449689388275f,-0.3204258680343628f,0.3673838973045349f,0.336106538772583f,-0.5366897583007812f,-0.17895866930484772f,1.2046540975570679f,0.01829466223716736f,0.6008890867233276f},
-{-0.47640806436538696f,-0.7512473464012146f,0.24740570783615112f,-0.5231333374977112f,1.2888580560684204f,-0.5799462795257568f,0.25593245029449463f,0.08714229613542557f,-0.04646488279104233f,0.34195324778556824f,0.28199899196624756f,-0.14047646522521973f,0.2135162502527237f,0.3117673397064209f,0.056514471769332886f,0.3938440680503845f},
-{0.09136072546243668f,-0.07769602537155151f,-0.3288555443286896f,0.01780693233013153f,0.14057400822639465f,-0.35934290289878845f,-0.11800059676170349f,-0.057746078819036484f,-0.24742496013641357f,0.5071731805801392f,0.4942764639854431f,0.056929513812065125f,0.035150449723005295f,0.033244676887989044f,-0.3194865584373474f,0.3426465392112732f},
-{0.0014575060922652483f,-0.29516175389289856f,-0.29844698309898376f,-0.1353914737701416f,0.17718131840229034f,0.38220804929733276f,-0.249517560005188f,0.22828775644302368f,-0.39046934247016907f,0.3742261528968811f,0.3643115162849426f,0.058736030012369156f,0.33089911937713623f,0.2733519375324249f,0.23831695318222046f,-0.2618117332458496f},
-{0.16441123187541962f,-0.21133501827716827f,0.20589900016784668f,0.2957554757595062f,-0.20332811772823334f,0.013652810826897621f,-0.2483310103416443f,0.10473039746284485f,-0.11949034780263901f,0.586356520652771f,-0.07662099599838257f,-0.0354391448199749f,-0.2444823831319809f,-0.158062145113945f,0.06927120685577393f,-0.40918442606925964f},
-{-0.2850320637226105f,0.22017164528369904f,0.008588135242462158f,-0.2230854034423828f,-0.516091525554657f,0.04753005504608154f,0.013287186622619629f,-0.1095397025346756f,0.20633608102798462f,0.05842011421918869f,0.12777604162693024f,-0.2401677668094635f,0.027820343151688576f,-0.35656100511550903f,-0.1702093929052353f,-0.25127503275871277f},
-{-0.12495747953653336f,-0.1088222935795784f,0.06708025932312012f,0.30997392535209656f,-0.3031366765499115f,0.07451160252094269f,0.27470332384109497f,-0.17629916965961456f,-0.0682818815112114f,0.20521841943264008f,-0.01818404160439968f,-0.3150874674320221f,0.052828457206487656f,-0.012664095498621464f,0.11447501182556152f,-0.21966452896595f},
+   {2.2660818099975586f,-0.5446878671646118f,0.11869695782661438f,1.0644947290420532f,-0.42345622181892395f,-1.0027719736099243f,-0.1607273668050766f,-0.35696759819984436f,-0.2629825472831726f,-0.05417454242706299f,-0.19686724245548248f,-3.1223154067993164f,-0.3275544345378876f,1.5543668270111084f,-0.23655231297016144f,0.6058546304702759f},
+{-0.3340113162994385f,0.9344584941864014f,-0.36131036281585693f,1.2413338422775269f,-0.3508710265159607f,0.5410084128379822f,-0.37291479110717773f,-0.1955154538154602f,-0.0795474648475647f,0.13506563007831573f,-0.23348858952522278f,-1.5765979290008545f,-0.8627661466598511f,-0.8677172660827637f,-0.1928754448890686f,-0.176744744181633f},
+{-0.2980824410915375f,0.5311776995658875f,0.3347502052783966f,0.27214208245277405f,-0.13615036010742188f,0.36307936906814575f,0.26419779658317566f,-0.05752198025584221f,-0.15463246405124664f,0.13771727681159973f,-0.3014680743217468f,-0.9091013073921204f,-0.4446467161178589f,-0.1481391042470932f,0.051422566175460815f,-0.20611926913261414f},
+{-0.1946468949317932f,-0.04022150859236717f,0.3655742108821869f,0.27840369939804077f,-0.10159263014793396f,-0.24385257065296173f,-0.10656246542930603f,0.1560303419828415f,0.014389928430318832f,0.2599664628505707f,0.10678590834140778f,0.12142544239759445f,0.01254330761730671f,-0.027686966583132744f,-0.2724146544933319f,0.21722380816936493f},
+{0.22439630329608917f,-0.05050037428736687f,-0.0047328174114227295f,-0.08864273130893707f,-0.06066639721393585f,-0.08039072901010513f,0.11903384327888489f,-0.19345282018184662f,0.02024240978062153f,0.08817192167043686f,0.33854761719703674f,0.27467113733291626f,0.43208783864974976f,0.15765900909900665f,-0.3555334210395813f,-0.07255319505929947f},
+{0.3829791843891144f,-0.797376811504364f,0.20028522610664368f,-0.4065952003002167f,0.16118185222148895f,-0.4696034789085388f,0.1519084870815277f,-0.4536861777305603f,0.02322372980415821f,0.09475096315145493f,-0.20924794673919678f,0.9529430866241455f,0.6464860439300537f,0.37877801060676575f,-0.3801653981208801f,-0.03540924936532974f},
+{0.10477444529533386f,-0.6684889197349548f,-0.2301493138074875f,-1.2617266178131104f,-0.3768823444843292f,-0.12981663644313812f,0.05532243847846985f,-0.4961535930633545f,0.3287629187107086f,0.04749613255262375f,0.15671561658382416f,1.2736989259719849f,0.8550129532814026f,0.46973884105682373f,-0.14366863667964935f,0.22389616072177887f},
+{-0.5132301449775696f,-0.2958914041519165f,-0.2448660284280777f,-0.7688301205635071f,-0.3952694237232208f,0.05504896119236946f,-0.1648942232131958f,-0.36137551069259644f,0.004650638438761234f,0.09257475286722183f,0.11364307999610901f,0.7861748337745667f,1.500432014465332f,0.004925147630274296f,0.03958237171173096f,-0.004430731292814016f},
+{-0.007323102559894323f,0.3751943111419678f,0.09426882863044739f,-0.8429116606712341f,-0.38943925499916077f,0.2605385184288025f,-0.06666257977485657f,-0.5055236220359802f,-0.2679147720336914f,0.30622756481170654f,-0.25688356161117554f,0.3165963590145111f,0.955748438835144f,0.1579241007566452f,-0.2810676395893097f,-0.0451207272708416f},
+{0.23219193518161774f,-0.3416672945022583f,0.16983172297477722f,-0.9100035429000854f,-0.2867138683795929f,0.16819216310977936f,-0.27508974075317383f,-0.28675082325935364f,-0.025955498218536377f,-0.4465029239654541f,0.008790715597569942f,-0.7600748538970947f,1.2755160331726074f,0.03601758927106857f,0.320571631193161f,-0.2019282728433609f},
+{1.1059352159500122f,-0.1302625983953476f,0.3420287072658539f,-0.48925524950027466f,-0.4248512089252472f,-0.18703703582286835f,-0.1870943307876587f,-0.2316165715456009f,-0.41093647480010986f,0.010892712511122227f,0.33672773838043213f,-1.0168510675430298f,0.5908714532852173f,0.4048658013343811f,0.2454969584941864f,-0.4645782709121704f},
+{0.8743252754211426f,-1.2937406301498413f,-0.3708900809288025f,-1.3262850046157837f,-0.22890035808086395f,-0.8532453179359436f,0.1410880982875824f,0.16530188918113708f,-0.15566834807395935f,0.1674504280090332f,-0.3646964132785797f,0.3105885088443756f,1.1087874174118042f,0.9595321416854858f,0.0965304970741272f,0.3706308901309967f},
+{-1.1250561475753784f,1.3527560234069824f,0.18257471919059753f,1.9253339767456055f,0.42921411991119385f,1.8764876127243042f,-0.22116509079933167f,0.0782991424202919f,-0.17554795742034912f,-0.21159234642982483f,-0.08385176956653595f,-1.8764336109161377f,-1.7386224269866943f,-1.515416145324707f,-0.20483672618865967f,-2.307525634765625f},
+{-0.8271458148956299f,1.0128202438354492f,0.3797040283679962f,1.822304606437683f,-0.14876097440719604f,0.7276181578636169f,-0.2943691909313202f,-0.3184182047843933f,-0.11459491401910782f,-0.2354682981967926f,-0.16216588020324707f,-1.3817857503890991f,-2.0736887454986572f,-0.8372222185134888f,0.04412442445755005f,-0.8550829291343689f},
+{-0.2759566307067871f,-0.14272060990333557f,0.18657007813453674f,0.43931838870048523f,0.4162310063838959f,-0.1770905703306198f,0.03866097331047058f,0.2568913400173187f,0.2898373603820801f,0.044508397579193115f,-0.2393093854188919f,1.2000733613967896f,-0.03205568715929985f,-0.001288468251004815f,0.061455368995666504f,-0.004366652108728886f},
+{-0.30321362614631653f,-0.9920729994773865f,-0.3719911277294159f,-0.5087084770202637f,-0.10874176770448685f,-0.5181922912597656f,-0.14320695400238037f,-0.0033372845500707626f,0.19780538976192474f,-0.03908044844865799f,-0.4176109731197357f,2.504629373550415f,0.4539322853088379f,0.4648798406124115f,-0.07585105299949646f,0.45601406693458557f},
+{-0.4034893810749054f,-0.537429928779602f,0.15367546677589417f,-0.007174568250775337f,-0.01674634777009487f,-0.5260472893714905f,-0.03809577226638794f,0.011647170409560204f,-0.04527563974261284f,0.045756831765174866f,-0.3066519796848297f,2.113722085952759f,0.47472047805786133f,0.6024358868598938f,0.2706928551197052f,0.1626371294260025f},
+{-0.32091593742370605f,-0.010275091975927353f,0.19238951802253723f,0.2393609881401062f,-0.4380570352077484f,-0.138492614030838f,-0.3321329653263092f,0.11736614257097244f,-0.36111876368522644f,-0.14657460153102875f,-0.13434356451034546f,0.768983006477356f,-0.0058406926691532135f,-0.013810286298394203f,-0.2528328001499176f,0.09790027886629105f},
+{-0.35950252413749695f,-0.07940101623535156f,-0.2740192711353302f,0.3743042051792145f,0.21962927281856537f,-0.26802054047584534f,0.25216367840766907f,-0.2800918519496918f,-0.3568187355995178f,-0.0066948989406228065f,-0.3720874786376953f,0.5772223472595215f,-0.1532304286956787f,0.4376605749130249f,-0.3002290427684784f,-0.11009340733289719f},
+{0.166444793343544f,0.2906187176704407f,0.14025375247001648f,-0.17721199989318848f,-0.33540642261505127f,0.1900324821472168f,-0.13092294335365295f,-0.3154311776161194f,-0.14703726768493652f,0.012514603324234486f,0.1174643412232399f,0.2969799041748047f,-0.23764364421367645f,0.39988163113594055f,0.13178887963294983f,0.24357229471206665f},
+{-0.3419628143310547f,-0.23532786965370178f,-0.07463794946670532f,0.07387944310903549f,-0.4219583570957184f,0.003691714722663164f,0.14242276549339294f,0.05076615512371063f,-0.342336505651474f,-0.3135744035243988f,-0.3598584234714508f,-0.5170814990997314f,-0.6963614821434021f,0.34360653162002563f,0.019209951162338257f,0.16732533276081085f},
+{-0.3852955102920532f,-0.3162367343902588f,0.259783536195755f,-0.6215041279792786f,0.01865581050515175f,-0.1508845090866089f,0.268736869096756f,0.05269892141222954f,-0.05536987632513046f,0.06323613971471786f,0.05504212900996208f,-0.6439156532287598f,-0.20526282489299774f,0.043203845620155334f,0.0593419075012207f,-0.05935557559132576f},
+{0.07565288245677948f,0.22836607694625854f,-0.3453083634376526f,-0.3706134259700775f,-0.5899545550346375f,-0.2265995591878891f,-0.1239042580127716f,0.01368409302085638f,-0.2664497196674347f,0.3014354407787323f,0.3553413450717926f,-0.3940286338329315f,-0.3204349875450134f,-0.07304757833480835f,-0.33547061681747437f,0.06628794968128204f},
 };
 
 const float h2[16][16] = { 
-    {-0.25210505723953247f,-0.4059171676635742f,-0.06966331601142883f,0.11002802103757858f,-0.21907491981983185f,0.2113061249256134f,0.2173425555229187f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.022778388112783432f,-0.23426251113414764f,0.08461258560419083f,0.16738787293434143f,0.09339773654937744f,-0.19839289784431458f},
-{-0.05144146457314491f,0.26235613226890564f,0.057057321071624756f,1.2636829614639282f,-0.35503754019737244f,-2.9537904262542725f,-0.5500552654266357f,-0.3601891100406647f,-0.33757925033569336f,0.2895788848400116f,0.5950590968132019f,-0.5938291549682617f,0.17730596661567688f,0.9306899905204773f,-0.8107737898826599f,-1.5175559520721436f},
+    {-1.0379235744476318f,0.133081316947937f,-0.06966331601142883f,-0.14719749987125397f,-0.21907491981983185f,1.4982120990753174f,0.1541646420955658f,-0.09287100285291672f,-0.43008196353912354f,-0.1415480375289917f,0.3646567761898041f,-0.45749279856681824f,-0.07319732755422592f,-0.6931941509246826f,-1.155229926109314f,0.11530066281557083f},
+{0.6120100021362305f,-1.4736982583999634f,0.057057321071624756f,-0.22642001509666443f,-0.35503754019737244f,0.9041410088539124f,-0.2765226662158966f,-0.45333215594291687f,-0.33757925033569336f,0.2895788848400116f,-0.8840673565864563f,-0.779664158821106f,0.09308735281229019f,1.3234649896621704f,0.3182397782802582f,-0.7992005348205566f},
 {-0.22745239734649658f,0.003037691116333008f,-0.061119019985198975f,0.35696902871131897f,0.05568113923072815f,0.011741191148757935f,-0.20225946605205536f,-0.08465918898582458f,0.3489862382411957f,0.0687277615070343f,0.31964078545570374f,0.3004753887653351f,0.36063823103904724f,-0.42892736196517944f,0.08652284741401672f,0.027493387460708618f},
-{-0.1073802039027214f,-2.0666306018829346f,-0.2894435524940491f,1.566843032836914f,0.08946844935417175f,1.7545222043991089f,-0.49357226490974426f,0.3874346613883972f,0.26211628317832947f,0.2953031361103058f,-0.1634923666715622f,-0.0915038138628006f,-0.576101541519165f,0.14042358100414276f,0.7474720478057861f,-0.49090006947517395f},
-{-0.26956015825271606f,1.6032721996307373f,-0.25313520431518555f,0.3794398009777069f,0.036378175020217896f,0.21563328802585602f,-0.2639320194721222f,-0.23935875296592712f,-0.024399548768997192f,-0.39465832710266113f,-0.16570092737674713f,-0.4338889718055725f,0.05565710738301277f,-0.44686269760131836f,-0.1949615627527237f,0.3505653440952301f},
-{0.1844814419746399f,-2.3823330402374268f,-0.3519742488861084f,-0.030160164460539818f,-0.3015052080154419f,0.9162615537643433f,-0.5335845947265625f,-0.040498148649930954f,-0.23047015070915222f,0.3579089343547821f,0.1387607455253601f,-0.43387094140052795f,-0.38586199283599854f,-1.051857590675354f,0.8926781415939331f,-1.4197138547897339f},
+{-0.11704449355602264f,0.09567742794752121f,-0.2894435524940491f,0.12732017040252686f,0.08946844935417175f,1.0337578058242798f,-0.34026724100112915f,0.22960981726646423f,0.26211628317832947f,0.2953031361103058f,-0.34022030234336853f,0.12152501940727234f,-0.4844122529029846f,0.7942899465560913f,0.9857823252677917f,-0.7272011637687683f},
+{0.03351781517267227f,0.3369673490524292f,-0.25313520431518555f,0.27107781171798706f,0.036378175020217896f,0.10655244439840317f,-0.23565807938575745f,-0.11553396284580231f,-0.024399548768997192f,-0.39465832710266113f,-0.18631578981876373f,-0.44787129759788513f,0.054566942155361176f,0.13630984723567963f,-0.095325767993927f,-0.2601047456264496f},
+{0.6916640996932983f,-0.9033540487289429f,-0.3519742488861084f,0.07435090094804764f,-0.3015052080154419f,-0.46749669313430786f,-0.5685623288154602f,-0.18781714141368866f,-0.23047015070915222f,0.3579089343547821f,-0.5034053921699524f,-0.2635588049888611f,-0.4369893968105316f,0.5710563659667969f,1.3814140558242798f,-0.45286500453948975f},
 {-0.1828227937221527f,-0.02554568648338318f,-0.3260969817638397f,0.08422836661338806f,-0.38453540205955505f,-0.25432005524635315f,0.285016268491745f,0.12387624382972717f,-0.0982072651386261f,0.13111665844917297f,-0.03692615032196045f,-0.32796353101730347f,-0.21546880900859833f,0.049302369356155396f,-0.27088475227355957f,-0.4124959409236908f},
-{0.053096361458301544f,0.05757596343755722f,0.33083590865135193f,0.16639335453510284f,-0.14358049631118774f,0.0038284813053905964f,-0.2811709940433502f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.3825254738330841f,-0.48409196734428406f,-0.3470988869667053f,0.15141454339027405f,0.2035769522190094f,0.00413510762155056f},
-{-0.25820738077163696f,0.3311062157154083f,-0.11379697918891907f,0.10723091661930084f,0.041274964809417725f,-0.3537191152572632f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.04538490250706673f,-0.3197441101074219f,-0.37024784088134766f,-0.27954789996147156f,-0.38179370760917664f,-0.22979736328125f},
-{-0.20278996229171753f,0.35637736320495605f,-0.13502129912376404f,-0.2786235511302948f,0.12987366318702698f,0.24236103892326355f,0.02539968490600586f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.883222222328186f,-0.09805093705654144f,0.2503664195537567f,-1.8711509704589844f,-0.24410827457904816f,0.38649991154670715f},
-{-0.3232584297657013f,-0.053189944475889206f,0.0457797646522522f,-0.5087712407112122f,-0.03321319818496704f,-1.8744505643844604f,-0.03214165195822716f,-0.26336658000946045f,-0.050184011459350586f,0.12480869889259338f,0.6152644157409668f,-0.07211600244045258f,-0.453349769115448f,-1.5250720977783203f,-0.05216648057103157f,0.11892851442098618f},
-{0.11140258610248566f,0.1321466863155365f,0.3954955041408539f,1.3737633228302002f,0.0033026933670043945f,-0.14030727744102478f,-0.42600369453430176f,-0.1593979150056839f,0.3487861454486847f,-0.32520344853401184f,0.46987098455429077f,-0.6833629012107849f,-0.08138442039489746f,-0.7832026481628418f,1.0384552478790283f,0.41698744893074036f},
-{-0.38445141911506653f,-0.33038535714149475f,-0.15798500180244446f,0.5063937902450562f,-0.37393757700920105f,0.29281941056251526f,0.021477876231074333f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,0.04953036829829216f,-0.3957204818725586f,0.3781505823135376f,0.31499528884887695f,0.021847642958164215f,0.3083464205265045f},
-{-0.3540099859237671f,1.4546316862106323f,-0.2018718123435974f,-0.36722248792648315f,0.07545611262321472f,-1.7687950134277344f,-0.34259331226348877f,-0.2933746874332428f,-0.24509364366531372f,0.19522181153297424f,0.7302901744842529f,-0.7415923476219177f,-0.334622323513031f,-0.4841771721839905f,-0.10593719780445099f,0.16230246424674988f},
+{0.12986847758293152f,0.27203619480133057f,0.33083590865135193f,-0.25850799679756165f,-0.14358049631118774f,-0.31704509258270264f,-0.09043094515800476f,-0.3300655782222748f,0.2600560486316681f,-0.37898191809654236f,0.36908823251724243f,-0.3198593854904175f,-0.409888356924057f,0.38091862201690674f,0.03372413292527199f,0.07647655159235f},
+{-0.21295024454593658f,0.3081499934196472f,-0.11379697918891907f,0.06787455081939697f,0.041274964809417725f,-0.37732765078544617f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.02534169889986515f,-0.29031556844711304f,-0.37024784088134766f,-0.25407493114471436f,-0.3610716760158539f,-0.2546393871307373f},
+{0.09721653163433075f,0.1683967411518097f,-0.13502129912376404f,0.11311661452054977f,0.12987366318702698f,0.03902279585599899f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.1804199367761612f,0.36860156059265137f,0.3811538517475128f,-0.19220827519893646f,0.06400047987699509f,-0.28095385432243347f},
+{-0.2753659784793854f,-0.03422274440526962f,0.0457797646522522f,-0.3964180052280426f,-0.03321319818496704f,-0.4470348656177521f,0.17873415350914001f,-0.2096310406923294f,-0.050184011459350586f,0.12480869889259338f,-0.24370472133159637f,0.3252077102661133f,-0.3647043704986572f,0.44357529282569885f,-0.36619603633880615f,-0.31300079822540283f},
+{0.8870222568511963f,1.768273949623108f,0.3954955041408539f,-0.029536575078964233f,0.0033026933670043945f,-0.07082922011613846f,-0.2370317429304123f,-0.2953222990036011f,0.3487861454486847f,-0.32520344853401184f,0.7155388593673706f,-0.4847662150859833f,-0.17324957251548767f,-1.5336089134216309f,-0.19414305686950684f,0.6667885184288025f},
+{0.36384347081184387f,0.005962439347058535f,-0.15798500180244446f,0.04848281666636467f,-0.37393757700920105f,0.07726680487394333f,-0.049870558083057404f,-0.32391414046287537f,-0.3764709532260895f,0.2424570620059967f,0.29358938336372375f,-0.7662584185600281f,0.14414775371551514f,0.23623888194561005f,-0.014642711728811264f,0.7192512154579163f},
+{-0.4565339982509613f,0.5560159087181091f,-0.2018718123435974f,-0.18104422092437744f,0.07545611262321472f,-0.020896825939416885f,-0.2275303304195404f,-0.3963051438331604f,-0.24509364366531372f,0.19522181153297424f,1.0363281965255737f,-0.7779356241226196f,-0.48935624957084656f,-1.1848509311676025f,-1.1435903310775757f,0.07298077642917633f},
 {0.4138670265674591f,0.1604653298854828f,0.056746453046798706f,0.036025404930114746f,0.3228367865085602f,-0.07083973288536072f,0.018455177545547485f,0.0059362053871154785f,0.40515169501304626f,0.014240056276321411f,-0.07738298177719116f,0.1407785713672638f,-0.13024571537971497f,-0.29546058177948f,-0.11976784467697144f,-0.35825538635253906f},
-{-0.6066306233406067f,0.5198500752449036f,0.12081471085548401f,-0.15702904760837555f,0.29976895451545715f,-0.20467263460159302f,-0.33610090613365173f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.4361351430416107f,-0.3206861615180969f,-0.14716669917106628f,-0.2186276614665985f,0.21438345313072205f,0.24429863691329956f},
+{0.5025356411933899f,0.4808608591556549f,0.12081471085548401f,-0.3138759136199951f,0.29976895451545715f,0.6712051033973694f,-0.13040025532245636f,0.12609733641147614f,-0.3893685042858124f,-0.02222958207130432f,0.4428107738494873f,-0.8106343746185303f,-0.47380611300468445f,0.3721110224723816f,-0.3175090551376343f,-0.023868253454566002f},
 };
 
 const float h3[16][16] = { 
-    {-0.36079341173171997f,-0.10172208398580551f,-0.05422573536634445f,-0.3531520962715149f,-0.1784299612045288f,0.016887450590729713f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.05566512793302536f,0.30659419298171997f,-0.31901490688323975f,0.15585735440254211f},
-{0.047732532024383545f,1.0753889083862305f,0.17731982469558716f,-0.7493314743041992f,-0.2843036353588104f,0.9747467637062073f,-0.3198729455471039f,-0.0939856767654419f,1.0722424983978271f,-0.5520620346069336f,0.21625272929668427f,-0.3128277659416199f,0.27079981565475464f,-0.016030684113502502f,-0.49918901920318604f,-2.110337018966675f},
+    {-0.36079341173171997f,-0.6791926026344299f,-1.2455590963363647f,-1.8249280452728271f,0.50666344165802f,-0.5325488448143005f,0.2264399379491806f,0.8850579261779785f,-0.4813840091228485f,-0.22387273609638214f,-3.2368218898773193f,0.22275273501873016f,-0.3702091872692108f,-1.0809537172317505f,-0.5527320504188538f,1.1077548265457153f},
+{0.047732532024383545f,0.20250749588012695f,0.005946281831711531f,-2.4827346801757812f,0.06175512447953224f,0.5240634083747864f,-0.4360813498497009f,0.3787638247013092f,0.2535857856273651f,-0.4180409014225006f,1.5193861722946167f,-0.4751662611961365f,-0.2968856394290924f,0.06714916974306107f,-0.6841952204704285f,-2.135225296020508f},
 {0.07903262972831726f,0.2790505588054657f,-0.07798504829406738f,0.04248586297035217f,-0.1963958442211151f,-0.19260792434215546f,-0.4038352966308594f,0.015906542539596558f,0.15353140234947205f,0.030178606510162354f,0.2488909661769867f,0.13805970549583435f,-0.0816211998462677f,-0.20733052492141724f,-0.3036302626132965f,0.054825395345687866f},
-{-0.30922991037368774f,0.014257480390369892f,0.6579341292381287f,-0.7031058669090271f,0.8574787378311157f,-0.1417912095785141f,0.20021501183509827f,0.07002416253089905f,-0.25067853927612305f,-0.3505967855453491f,-0.4693567156791687f,0.2691781222820282f,-0.3446228504180908f,-0.5491616129875183f,0.32736796140670776f,1.543021559715271f},
+{-0.30922991037368774f,-0.15589675307273865f,0.34225794672966003f,-0.3719671964645386f,-0.11995722353458405f,0.001689257798716426f,0.20021501183509827f,0.002378920093178749f,-0.23928304016590118f,-0.365601509809494f,0.13192829489707947f,0.35806775093078613f,0.019505009055137634f,0.049362268298864365f,0.12382330745458603f,0.057659976184368134f},
 {-0.39607733488082886f,-0.05481579899787903f,0.1976260244846344f,0.022423356771469116f,0.16892847418785095f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.1530032455921173f,-0.1336749792098999f,0.22959044575691223f,0.19986507296562195f},
-{-0.37449589371681213f,0.46526315808296204f,1.1900017261505127f,1.531158447265625f,-0.09719792008399963f,0.31513187289237976f,-0.18732719123363495f,0.22384825348854065f,0.0015948208747431636f,-0.1597813218832016f,-0.6037359237670898f,0.0869547575712204f,1.306787133216858f,0.013234049081802368f,0.8242419362068176f,-1.228737235069275f},
-{0.4110594093799591f,0.1605031043291092f,-0.16130556166172028f,0.37246426939964294f,0.3355327248573303f,-0.19788698852062225f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.3305956721305847f,-0.039165765047073364f,0.18454331159591675f,-0.3391006588935852f},
-{-0.40892091393470764f,-0.035043053328990936f,-0.3115358054637909f,0.3177052438259125f,0.37669578194618225f,-0.12974904477596283f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.1972155123949051f,-0.36560842394828796f,-0.0011195334373041987f,0.005298197269439697f},
+{-0.37449589371681213f,-0.1950235664844513f,-0.5279949307441711f,1.1395740509033203f,0.2295796424150467f,0.012125378474593163f,-0.2751339375972748f,-1.4852973222732544f,-0.39693039655685425f,-0.2241286188364029f,0.5349912643432617f,0.029919350519776344f,0.4018494486808777f,0.17159178853034973f,0.6510624885559082f,-2.406169891357422f},
+{0.4110594093799591f,0.21534739434719086f,-0.23537102341651917f,0.28398624062538147f,0.18285103142261505f,-0.13844221830368042f,-0.08670487999916077f,-0.4278556704521179f,-0.030661463737487793f,-0.06259563565254211f,-0.15624940395355225f,0.35313835740089417f,0.24638794362545013f,0.00968971662223339f,0.26019975543022156f,-0.3391006588935852f},
+{-0.40892091393470764f,-0.04911021515727043f,-0.30747368931770325f,0.3544166386127472f,0.42156586050987244f,-0.1375376433134079f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.1995883285999298f,-0.34782713651657104f,-0.013582163490355015f,-0.024241622537374496f},
 {0.10697010159492493f,-0.12228584289550781f,-0.37870171666145325f,0.21184906363487244f,-0.37222859263420105f,-0.17138728499412537f,-0.1382003128528595f,0.3493293821811676f,-0.360889196395874f,-0.3875247836112976f,0.42142823338508606f,-0.3482915461063385f,-0.3289247751235962f,-0.2186824083328247f,0.09620395302772522f,-0.06898030638694763f},
 {0.2847062647342682f,0.018552124500274658f,0.11435768008232117f,0.36562982201576233f,-0.047046810388565063f,0.30447837710380554f,0.2430230677127838f,0.2909286320209503f,-0.2802048921585083f,0.18043199181556702f,0.41849127411842346f,-0.287167489528656f,0.24394884705543518f,-0.14084559679031372f,-0.10168051719665527f,0.010465055704116821f},
-{0.15459725260734558f,0.5162972807884216f,-0.13875530660152435f,-4.656667709350586f,-0.8446860909461975f,0.24457228183746338f,-0.08742031455039978f,-0.09931918233633041f,-0.35160648822784424f,-0.5430967211723328f,-0.18435607850551605f,-0.44884198904037476f,-0.060661181807518005f,-0.9421484470367432f,0.855506181716919f,0.3708033561706543f},
-{-0.408692330121994f,0.07973938435316086f,0.016587544232606888f,0.26259350776672363f,0.11990524083375931f,-0.1113203763961792f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.6542379856109619f,0.03996849060058594f,-0.6105207800865173f,-0.14511774480342865f,-0.14723564684391022f,0.10698546469211578f},
-{-0.2991822361946106f,0.2525568902492523f,0.026335960254073143f,-0.05932474136352539f,0.11362092941999435f,0.11951722204685211f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.13153821229934692f,-0.1653849333524704f,0.24731771647930145f,-0.16869547963142395f},
-{-0.2675279378890991f,0.013630464673042297f,0.5430143475532532f,-0.1550510823726654f,0.17619849741458893f,-0.05799423158168793f,-0.32875844836235046f,-0.31893211603164673f,-3.0947272777557373f,-0.6940340995788574f,-0.6170888543128967f,-0.5206098556518555f,1.1521424055099487f,-0.9339458346366882f,0.9837495684623718f,-0.630854070186615f},
-{-0.015470266342163086f,-0.6298753619194031f,0.9077247977256775f,0.09919581562280655f,0.20719179511070251f,-0.8172785043716431f,0.05196094512939453f,-0.15130402147769928f,-1.1530804634094238f,-0.658012330532074f,-0.5316575765609741f,-0.25431928038597107f,0.7105571031570435f,-1.4784846305847168f,0.2771899700164795f,-0.51945960521698f},
-{0.1863725483417511f,0.3316158652305603f,-0.3408939242362976f,0.2283833622932434f,0.05066967010498047f,0.13183023035526276f,0.04860696196556091f,0.021250905469059944f,-0.3624637722969055f,0.03372818976640701f,-0.7151399254798889f,0.06625616550445557f,0.657176673412323f,-0.13679352402687073f,-0.46388790011405945f,-2.0645017623901367f},
+{0.15459725260734558f,0.7163918614387512f,-0.6403118968009949f,-0.1639547049999237f,-0.5444389581680298f,0.5002370476722717f,-0.1983482986688614f,0.3064975142478943f,-0.08360356092453003f,-0.48247990012168884f,0.09057217836380005f,-0.4818568527698517f,-0.30963262915611267f,-0.6078660488128662f,0.7347269058227539f,-1.6883602142333984f},
+{-0.408692330121994f,0.2943980097770691f,-0.06173360347747803f,0.1156122162938118f,-0.14173220098018646f,-0.024785175919532776f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.6756531000137329f,0.24639484286308289f,-0.10867234319448471f,0.36541664600372314f},
+{-0.2991822361946106f,0.31579408049583435f,-0.02543068118393421f,-0.05932474136352539f,0.14145930111408234f,0.17751197516918182f,-0.11253207921981812f,0.19669762253761292f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.07313438504934311f,-0.05399429798126221f,0.17149503529071808f,-0.31058910489082336f},
+{-0.2675279378890991f,0.028933901339769363f,1.045002818107605f,0.012741477228701115f,0.35335877537727356f,-0.5889517068862915f,-0.2641124427318573f,-2.0574941635131836f,-0.5086210370063782f,-0.5254963636398315f,-1.782651662826538f,-0.7127118110656738f,0.6176373362541199f,-0.7961845397949219f,0.8811091780662537f,0.1159323900938034f},
+{-0.015470266342163086f,0.5419120788574219f,0.1470305472612381f,-0.15800152719020844f,1.5208746194839478f,0.40400007367134094f,-0.024477755650877953f,0.4607020318508148f,-0.516078531742096f,-0.5644939541816711f,-0.48454344272613525f,-0.32996994256973267f,0.1927938610315323f,0.37666407227516174f,0.6253973841667175f,0.823915421962738f},
+{0.1863725483417511f,0.40191102027893066f,0.14646016061306f,-1.9016780853271484f,0.20119011402130127f,0.2791161835193634f,-0.06154642254114151f,0.2495824545621872f,-0.07567248493432999f,0.07917626947164536f,-0.6304593682289124f,0.028020502999424934f,0.03420177102088928f,-0.6877672076225281f,-0.11548148840665817f,-0.42344602942466736f},
 };
 
-const float hout[16] = { 0.45773375034332275f,0.1573396921157837f,-0.2266036719083786f,-0.34220030903816223f,-0.12916159629821777f,0.21063542366027832f,0.0030125975608825684f,0.09771253168582916f,-0.16219666600227356f,-0.09851107746362686f,0.21235927939414978f,-0.26737266778945923f,-0.22092729806900024f,-0.07228755950927734f,0.38283488154411316f,-0.3793788552284241f };
+const float hout[16] = { 0.45773375034332275f,0.09332532435655594f,-0.1844533234834671f,-0.28953805565834045f,-0.2272268384695053f,0.23726938664913177f,-0.08956165611743927f,0.27231523394584656f,0.11530358344316483f,-0.036525070667266846f,0.1618582010269165f,-0.10062330216169357f,-0.1317339986562729f,0.1727394461631775f,0.19315701723098755f,-0.17882952094078064f };
 
-const float b1[16] = { 0.7116228342056274f,0.7612383961677551f,-1.7145336866378784f,0.5937538146972656f,-0.09950263798236847f,1.5499048233032227f,-0.058932315558195114f,0.6715773940086365f,0.534138560295105f,-1.006351113319397f,0.7057833075523376f,1.6850756406784058f,-0.3508627712726593f,-0.8155248761177063f,-1.087764859199524f,0.8281255960464478f };
+const float b1[16] = { 0.5832811594009399f,1.0798215866088867f,-1.7145336866378784f,0.5966213345527649f,0.9764465689659119f,0.9771834015846252f,-0.058932315558195114f,0.7898977398872375f,0.5242074728012085f,-0.9275254607200623f,0.5938812494277954f,1.2476818561553955f,-0.7679874897003174f,-0.7304303050041199f,-1.087764859199524f,1.0959287881851196f };
 
-const float b2[16] = { -0.3337513506412506f,-0.5391920208930969f,-1.4564176797866821f,-1.128948450088501f,-0.6939148902893066f,0.5002384781837463f,0.22250673174858093f,-0.33680295944213867f,-1.20063054561615f,-1.912178635597229f,0.12254471331834793f,0.106278195977211f,-0.24708500504493713f,2.269289493560791f,0.5072054266929626f,1.6524643898010254f };
+const float b2[16] = { 0.43903544545173645f,-1.229790210723877f,-1.4564176797866821f,-0.7689498066902161f,-0.6939148902893066f,0.1927376389503479f,0.3919122517108917f,-0.49416452646255493f,-1.20063054561615f,-1.912178635597229f,0.15161100029945374f,0.3247258961200714f,-0.35111621022224426f,1.9910045862197876f,0.18655620515346527f,1.0135984420776367f };
 
-const float b3[16] = { -1.963319182395935f,-0.17327481508255005f,0.12254021316766739f,0.298814982175827f,0.31169232726097107f,0.9381092190742493f,-0.45353031158447266f,-0.8102949261665344f,-0.3720570504665375f,0.19731217622756958f,-0.47558876872062683f,-0.08406878262758255f,-0.46960222721099854f,0.08271750062704086f,-1.1466164588928223f,-1.295691967010498f };
+const float b3[16] = { -1.963319182395935f,-0.26877960562705994f,0.621764063835144f,-1.049706220626831f,0.016289880499243736f,0.7925111651420593f,-0.5585779547691345f,-1.7759090662002563f,0.43397989869117737f,0.2718099355697632f,-0.7883687019348145f,-0.12879030406475067f,-0.7222028970718384f,-0.009602507576346397f,-0.6739954352378845f,-0.9298136830329895f };
 
-const float bout[1] = { -0.23560747504234314f };
+const float bout[1] = { -0.22867871820926666f };
 
 
 float VALVE_POS_RAW_NN = 0.0f;