# Storing a table of normal quantiles so I don't need to add a Distributions.jl dependency

const NORM_TABLE = [
    -3.09052913792527
    -2.87847701476615
    -2.74810910322958
    -2.65240725811552
    -2.57617489950329
    -2.51249701319257
    -2.45762240440889
    -2.40928031214796
    -2.3659881908323
    -2.3267228670994
    -2.29074749435689
    -2.25751322631763
    -2.22659989524007
    -2.19767845464965
    -2.17048623927379
    -2.14481011722988
    -2.12047468772263
    -2.09733380936838
    -2.07526438887675
    -2.05416174130811
    -2.03393606655888
    -2.01450973381435
    -1.99581516082526
    -1.97779313781454
    -1.96039148835635
    -1.94356398885586
    -1.92726948876869
    -1.9114711882875
    -1.89613604074919
    -1.8812342547096
    -1.86673887632534
    -1.85262543694045
    -1.83887165399534
    -1.82545717583174
    -1.81236336286033
    -1.79957309902681
    -1.78707062866264
    -1.77484141471404
    -1.76287201506288
    -1.75114997422944
    -1.73966372820952
    -1.72840252057389
    -1.71735632826212
    -1.70651579575289
    -1.6958721764973
    -1.68541728067125
    -1.67514342844331
    -1.66504340807147
    -1.65511043824015
    -1.64533813413102
    -1.63572047679064
    -1.62625178541637
    -1.61692669223222
    -1.60774011966837
    -1.59868725959458
    -1.58976355438896
    -1.5809646796499
    -1.57228652838263
    -1.56372519651115
    -1.55527696958423
    -1.54693831055869
    -1.53870584855661
    -1.53057636850434
    -1.52254680157137
    -1.51461421633577
    -1.50677581061069
    -1.49902890387327
    -1.49137093024321
    -1.48379943196366
    -1.47631205334164
    -1.46890653510976
    -1.46158070917414
    -1.45433249371732
    -1.44715988862754
    -1.4400609712286
    -1.43303389228667
    -1.42607687227285
    -1.4191881978619
    -1.4123662186494
    -1.40560934407114
    -1.39891604050989
    -1.39228482857606
    -1.38571428054967
    -1.37920301797242
    -1.37274970937914
    -1.36635306815929
    -1.36001185053937
    -1.35372485367826
    -1.3474909138679
    -1.34130890483236
    -1.33517773611894
    -1.32909635157526
    -1.32306372790702
    -1.31707887331116
    -1.31114082617984
    -1.30524865387087
    -1.29940145154036
    -1.29359834103413
    -1.28783846983403
    -1.28212101005616
    -1.27644515749782
    -1.27081013073041
    -1.26521517023564
    -1.2596595375825
    -1.25414251464285
    -1.2486634028433
    -1.24322152245147
    -1.23781621189474
    -1.23244682710972
    -1.22711274092072
    -1.22181334244574
    -1.2165480365286
    -1.21131624319561
    -1.20611739713578
    -1.20095094720313
    -1.19581635594011
    -1.19071309912105
    -1.18564066531454
    -1.18059855546391
    -1.17558628248485
    -1.17060337087942
    -1.16564935636544
    -1.16072378552085
    -1.15582621544201
    -1.15095621341549
    -1.14611335660259
    -1.14129723173609
    -1.13650743482863
    -1.1317435708921
    -1.12700525366775
    -1.12229210536627
    -1.11760375641764
    -1.11293984523014
    -1.1083000179582
    -1.10368392827867
    -1.09909123717521
    -1.0945216127303
    -1.08997472992474
    -1.08545027044417
    -1.08094792249234
    -1.07646738061097
    -1.07200834550571
    -1.06757052387814
    -1.06315362826348
    -1.05875737687376
    -1.05438149344627
    -1.05002570709708
    -1.04568975217935
    -1.0413733681464
    -1.03707629941914
    -1.03279829525789
    -1.02853910963827
    -1.02429850113113
    -1.0200762327862
    -1.01587207201954
    -1.01168579050441
    -1.00751716406563
    -1.00336597257717
    -0.999231999862866
    -0.995115033600283
    -0.991014865227371
    -0.986931289852029
    -0.982864106164351
    -0.978813116351504
    -0.97477812601512
    -0.970758944091136
    -0.966755382771977
    -0.962767257431005
    -0.958794386549162
    -0.954836591643717
    -0.950893697199062
    -0.946965530599463
    -0.943051922063731
    -0.93915270458171
    -0.935267713852561
    -0.931396788224743
    -0.927539768637666
    -0.923696498564941
    -0.919866823959183
    -0.916050593198315
    -0.912247657033316
    -0.908457868537385
    -0.904681083056451
    -0.900917158161006
    -0.897165953599211
    -0.893427331251229
    -0.88970115508476
    -0.885987291111723
    -0.882285607346064
    -0.878595973762652
    -0.874918262257221
    -0.871252346607333
    -0.867598102434333
    -0.863955407166258
    -0.860324140001676
    -0.856704181874433
    -0.853095415419262
    -0.849497724938252
    -0.845910996368134
    -0.842335117248368
    -0.838769976690004
    -0.835215465345297
    -0.831671475378053
    -0.828137900434687
    -0.824614635615961
    -0.821101577449406
    -0.817598623862384
    -0.814105674155782
    -0.810622628978331
    -0.807149390301506
    -0.803685861395022
    -0.800231946802882
    -0.796787552319982
    -0.793352584969242
    -0.789926952979265
    -0.786510565762491
    -0.783103333893848
    -0.77970516908988
    -0.776315984188337
    -0.77293569312822
    -0.769564210930266
    -0.766201453677858
    -0.762847338498361
    -0.75950178354485
    -0.75616470797825
    -0.752836031949848
    -0.749515676584188
    -0.746203563962325
    -0.742899617105447
    -0.739603759958828
    -0.73631591737613
    -0.733036015104032
    -0.729763979767182
    -0.726499738853455
    -0.723243220699528
    -0.719994354476738
    -0.716753070177244
    -0.713519298600464
    -0.71029297133979
    -0.707074020769574
    -0.70386238003237
    -0.700657983026445
    -0.697460764393524
    -0.694270659506794
    -0.691087604459134
    -0.687911536051589
    -0.684742391782056
    -0.681580109834208
    -0.678424629066621
    -0.67527588900212
    -0.672133829817328
    -0.668998392332415
    -0.665869518001048
    -0.662747148900528
    -0.659631227722116
    -0.656521697761549
    -0.653418502909723
    -0.65032158764356
    -0.647230897017041
    -0.644146376652413
    -0.641067972731549
    -0.637995631987479
    -0.634929301696065
    -0.63186892966784
    -0.628814464239987
    -0.625765854268473
    -0.622723049120314
    -0.619685998665991
    -0.616654653271996
    -0.61362896379351
    -0.61060888156722
    -0.607594358404251
    -0.604585346583237
    -0.601581798843501
    -0.598583668378363
    -0.595590908828565
    -0.592603474275806
    -0.58962131923639
    -0.586644398654988
    -0.583672667898502
    -0.580706082750039
    -0.577744599402985
    -0.574788174455178
    -0.571836764903184
    -0.56889032813667
    -0.565948821932863
    -0.563012204451115
    -0.560080434227546
    -0.557153470169786
    -0.554231271551797
    -0.551313798008786
    -0.548401009532195
    -0.545492866464778
    -0.542589329495759
    -0.539690359656064
    -0.536795918313634
    -0.53390596716881
    -0.531020468249798
    -0.528139383908199
    -0.525262676814613
    -0.52239030995432
    -0.519522246623016
    -0.516658450422623
    -0.513798885257171
    -0.510943515328731
    -0.508092305133422
    -0.505245219457474
    -0.502402223373355
    -0.499563282235957
    -0.496728361678837
    -0.49389742761052
    -0.491070446210858
    -0.488247383927438
    -0.485428207472053
    -0.48261288381722
    -0.479801380192749
    -0.476993664082371
    -0.474189703220406
    -0.471389465588489
    -0.468592919412335
    -0.465800033158564
    -0.463010775531561
    -0.460225115470383
    -0.457443022145722
    -0.454664464956894
    -0.451889413528889
    -0.449117837709448
    -0.446349707566195
    -0.443584993383799
    -0.440823665661185
    -0.438065695108774
    -0.435311052645773
    -0.432559709397495
    -0.429811636692721
    -0.427066806061093
    -0.42432518923055
    -0.421586758124793
    -0.418851484860787
    -0.416119341746303
    -0.41339030127748
    -0.410664336136433
    -0.407941419188885
    -0.405221523481836
    -0.40250462224126
    -0.399790688869832
    -0.397079696944688
    -0.394371620215214
    -0.391666432600858
    -0.388964108188981
    -0.38626462123273
    -0.383567946148934
    -0.380874057516038
    -0.378182930072053
    -0.37549453871254
    -0.372808858488616
    -0.370125864604981
    -0.367445532417981
    -0.364767837433686
    -0.362092755305993
    -0.359420261834756
    -0.356750332963938
    -0.354082944779782
    -0.351418073509011
    -0.348755695517045
    -0.346095787306239
    -0.343438325514148
    -0.340783286911806
    -0.33813064840203
    -0.335480387017742
    -0.332832479920312
    -0.330186904397919
    -0.327543637863934
    -0.32490265785532
    -0.322263942031046
    -0.319627468170533
    -0.316993214172097
    -0.314361158051431
    -0.31173127794009
    -0.309103552083997
    -0.306477958841968
    -0.303854476684253
    -0.301233084191088
    -0.298613760051268
    -0.295996483060739
    -0.293381232121193
    -0.290767986238692
    -0.288156724522299
    -0.285547426182722
    -0.282940070530981
    -0.280334636977082
    -0.277731105028704
    -0.275129454289906
    -0.272529664459841
    -0.269931715331488
    -0.267335586790394
    -0.264741258813429
    -0.262148711467555
    -0.259557924908607
    -0.256968879380086
    -0.25438155521196
    -0.251795932819487
    -0.249211992702035
    -0.246629715441926
    -0.244049081703287
    -0.241470072230908
    -0.238892667849114
    -0.236316849460652
    -0.233742598045577
    -0.231169894660161
    -0.228598720435803
    -0.226029056577955
    -0.223460884365049
    -0.220894185147445
    -0.21832894034638
    -0.215765131452928
    -0.213202740026971
    -0.210641747696179
    -0.208082136154993
    -0.205523887163626
    -0.202966982547062
    -0.200411404194074
    -0.197857134056242
    -0.19530415414698
    -0.192752446540576
    -0.190201993371232
    -0.18765277683212
    -0.18510477917444
    -0.182557982706481
    -0.180012369792705
    -0.177467922852816
    -0.174924624360856
    -0.172382456844294
    -0.169841402883129
    -0.167301445108997
    -0.164762566204284
    -0.162224748901244
    -0.159687975981129
    -0.157152230273319
    -0.154617494654456
    -0.152083752047593
    -0.149550985421342
    -0.147019177789025
    -0.144488312207837
    -0.141958371778012
    -0.139429339641993
    -0.136901198983604
    -0.134373933027236
    -0.131847525037031
    -0.129321958316068
    -0.126797216205564
    -0.124273282084069
    -0.121750139366671
    -0.119227771504207
    -0.116706161982469
    -0.114185294321428
    -0.11166515207445
    -0.10914571882752
    -0.106626978198473
    -0.104108913836226
    -0.101591509420012
    -0.09907474865862
    -0.096558615289639
    -0.094043093078702
    -0.091528165818736
    -0.089013817329217
    -0.086500031455423
    -0.083986792067693
    -0.081474083060691
    -0.078961888352667
    -0.076450191884726
    -0.073938977620099
    -0.071428229543413
    -0.068917931659967
    -0.06640806799501
    -0.063898622593019
    -0.061389579516982
    -0.058880922847681
    -0.056372636682979
    -0.053864705137108
    -0.051357112339956
    -0.048849842436363
    -0.046342879585409
    -0.043836207959717
    -0.041329811744739
    -0.038823675138062
    -0.036317782348706
    -0.03381211759642
    -0.03130666511099
    -0.028801409131539
    -0.026296333905829
    -0.023791423689573
    -0.021286662745731
    -0.018782035343826
    -0.016277525759247
    -0.013773118272557
    -0.011268797168804
    -0.008764546736828
    -0.006260351268573
    -0.003756195058396
    -0.001252062402375
    0.001252062402375
    0.003756195058396
    0.006260351268573
    0.008764546736828
    0.011268797168804
    0.013773118272557
    0.016277525759247
    0.018782035343826
    0.021286662745731
    0.023791423689572
    0.026296333905829
    0.028801409131539
    0.03130666511099
    0.03381211759642
    0.036317782348706
    0.038823675138062
    0.041329811744739
    0.043836207959717
    0.046342879585409
    0.048849842436362
    0.051357112339956
    0.053864705137108
    0.056372636682979
    0.058880922847681
    0.061389579516982
    0.063898622593019
    0.06640806799501
    0.068917931659967
    0.071428229543413
    0.073938977620099
    0.076450191884726
    0.078961888352667
    0.081474083060691
    0.083986792067693
    0.086500031455423
    0.089013817329217
    0.091528165818736
    0.094043093078702
    0.096558615289639
    0.099074748658621
    0.101591509420012
    0.104108913836226
    0.106626978198473
    0.10914571882752
    0.11166515207445
    0.114185294321428
    0.116706161982469
    0.119227771504207
    0.121750139366671
    0.124273282084069
    0.126797216205564
    0.129321958316068
    0.131847525037031
    0.134373933027236
    0.136901198983604
    0.139429339641993
    0.141958371778012
    0.144488312207837
    0.147019177789024
    0.149550985421342
    0.152083752047593
    0.154617494654456
    0.157152230273319
    0.159687975981129
    0.162224748901244
    0.164762566204284
    0.167301445108997
    0.169841402883129
    0.172382456844294
    0.174924624360856
    0.177467922852816
    0.180012369792705
    0.182557982706482
    0.18510477917444
    0.18765277683212
    0.190201993371232
    0.192752446540576
    0.19530415414698
    0.197857134056242
    0.200411404194075
    0.202966982547062
    0.205523887163626
    0.208082136154993
    0.210641747696179
    0.213202740026971
    0.215765131452928
    0.21832894034638
    0.220894185147445
    0.223460884365049
    0.226029056577955
    0.228598720435803
    0.231169894660161
    0.233742598045577
    0.236316849460652
    0.238892667849114
    0.241470072230908
    0.244049081703287
    0.246629715441926
    0.249211992702035
    0.251795932819487
    0.25438155521196
    0.256968879380086
    0.259557924908607
    0.262148711467555
    0.264741258813429
    0.267335586790394
    0.269931715331488
    0.272529664459841
    0.275129454289906
    0.277731105028704
    0.280334636977082
    0.282940070530981
    0.285547426182722
    0.288156724522299
    0.290767986238692
    0.293381232121193
    0.295996483060739
    0.298613760051268
    0.301233084191088
    0.303854476684253
    0.306477958841968
    0.309103552083997
    0.31173127794009
    0.314361158051431
    0.316993214172097
    0.319627468170533
    0.322263942031046
    0.324902657855319
    0.327543637863934
    0.330186904397919
    0.332832479920312
    0.335480387017742
    0.33813064840203
    0.340783286911806
    0.343438325514148
    0.346095787306239
    0.348755695517045
    0.351418073509011
    0.354082944779782
    0.356750332963938
    0.359420261834756
    0.362092755305993
    0.364767837433686
    0.367445532417981
    0.370125864604981
    0.372808858488616
    0.37549453871254
    0.378182930072053
    0.380874057516038
    0.383567946148934
    0.38626462123273
    0.388964108188981
    0.391666432600858
    0.394371620215214
    0.397079696944688
    0.399790688869832
    0.40250462224126
    0.405221523481836
    0.407941419188885
    0.410664336136433
    0.41339030127748
    0.416119341746303
    0.418851484860787
    0.421586758124792
    0.42432518923055
    0.427066806061093
    0.429811636692721
    0.432559709397496
    0.435311052645773
    0.438065695108774
    0.440823665661185
    0.443584993383799
    0.446349707566195
    0.449117837709448
    0.451889413528889
    0.454664464956894
    0.457443022145722
    0.460225115470384
    0.463010775531561
    0.465800033158564
    0.468592919412335
    0.471389465588489
    0.474189703220406
    0.476993664082371
    0.47980138019275
    0.48261288381722
    0.485428207472053
    0.488247383927438
    0.491070446210858
    0.49389742761052
    0.496728361678837
    0.499563282235957
    0.502402223373355
    0.505245219457474
    0.508092305133422
    0.510943515328731
    0.513798885257171
    0.516658450422623
    0.519522246623016
    0.52239030995432
    0.525262676814614
    0.528139383908199
    0.531020468249798
    0.53390596716881
    0.536795918313634
    0.539690359656064
    0.542589329495759
    0.545492866464778
    0.548401009532195
    0.551313798008786
    0.554231271551798
    0.557153470169786
    0.560080434227546
    0.563012204451115
    0.565948821932863
    0.56889032813667
    0.571836764903184
    0.574788174455178
    0.577744599402985
    0.580706082750039
    0.583672667898502
    0.586644398654988
    0.58962131923639
    0.592603474275806
    0.595590908828565
    0.598583668378363
    0.601581798843501
    0.604585346583237
    0.607594358404251
    0.61060888156722
    0.61362896379351
    0.616654653271996
    0.619685998665991
    0.622723049120314
    0.625765854268473
    0.628814464239987
    0.63186892966784
    0.634929301696065
    0.637995631987479
    0.641067972731549
    0.644146376652413
    0.647230897017041
    0.650321587643559
    0.653418502909723
    0.656521697761549
    0.659631227722116
    0.662747148900528
    0.665869518001048
    0.668998392332415
    0.672133829817328
    0.67527588900212
    0.678424629066621
    0.681580109834208
    0.684742391782056
    0.687911536051589
    0.691087604459134
    0.694270659506794
    0.697460764393524
    0.700657983026445
    0.70386238003237
    0.707074020769574
    0.71029297133979
    0.713519298600464
    0.716753070177244
    0.719994354476738
    0.723243220699528
    0.726499738853455
    0.729763979767182
    0.733036015104032
    0.73631591737613
    0.739603759958828
    0.742899617105447
    0.746203563962326
    0.749515676584188
    0.752836031949848
    0.75616470797825
    0.75950178354485
    0.762847338498361
    0.766201453677858
    0.769564210930266
    0.77293569312822
    0.776315984188337
    0.77970516908988
    0.783103333893848
    0.786510565762491
    0.789926952979265
    0.793352584969242
    0.796787552319982
    0.800231946802882
    0.803685861395022
    0.807149390301506
    0.810622628978331
    0.814105674155782
    0.817598623862384
    0.821101577449406
    0.824614635615961
    0.828137900434687
    0.831671475378053
    0.835215465345296
    0.838769976690004
    0.842335117248368
    0.845910996368134
    0.849497724938252
    0.853095415419262
    0.856704181874433
    0.860324140001677
    0.863955407166258
    0.867598102434333
    0.871252346607333
    0.874918262257221
    0.878595973762652
    0.882285607346063
    0.885987291111723
    0.88970115508476
    0.893427331251229
    0.897165953599211
    0.900917158161006
    0.904681083056451
    0.908457868537385
    0.912247657033316
    0.916050593198315
    0.919866823959183
    0.923696498564941
    0.927539768637666
    0.931396788224743
    0.935267713852561
    0.93915270458171
    0.943051922063731
    0.946965530599464
    0.950893697199062
    0.954836591643717
    0.958794386549162
    0.962767257431005
    0.966755382771977
    0.970758944091136
    0.97477812601512
    0.978813116351504
    0.982864106164351
    0.986931289852029
    0.991014865227371
    0.995115033600283
    0.999231999862867
    1.00336597257717
    1.00751716406563
    1.01168579050441
    1.01587207201954
    1.0200762327862
    1.02429850113113
    1.02853910963827
    1.03279829525789
    1.03707629941914
    1.0413733681464
    1.04568975217935
    1.05002570709708
    1.05438149344627
    1.05875737687376
    1.06315362826348
    1.06757052387814
    1.07200834550571
    1.07646738061097
    1.08094792249234
    1.08545027044417
    1.08997472992474
    1.0945216127303
    1.09909123717521
    1.10368392827867
    1.1083000179582
    1.11293984523014
    1.11760375641764
    1.12229210536627
    1.12700525366775
    1.1317435708921
    1.13650743482863
    1.14129723173609
    1.14611335660259
    1.15095621341549
    1.15582621544201
    1.16072378552085
    1.16564935636544
    1.17060337087942
    1.17558628248485
    1.18059855546391
    1.18564066531454
    1.19071309912105
    1.19581635594011
    1.20095094720313
    1.20611739713578
    1.21131624319561
    1.2165480365286
    1.22181334244574
    1.22711274092072
    1.23244682710972
    1.23781621189474
    1.24322152245147
    1.2486634028433
    1.25414251464285
    1.2596595375825
    1.26521517023564
    1.27081013073041
    1.27644515749782
    1.28212101005616
    1.28783846983403
    1.29359834103413
    1.29940145154036
    1.30524865387087
    1.31114082617984
    1.31707887331116
    1.32306372790702
    1.32909635157526
    1.33517773611894
    1.34130890483236
    1.3474909138679
    1.35372485367826
    1.36001185053937
    1.36635306815929
    1.37274970937914
    1.37920301797242
    1.38571428054967
    1.39228482857606
    1.39891604050989
    1.40560934407114
    1.4123662186494
    1.4191881978619
    1.42607687227285
    1.43303389228667
    1.4400609712286
    1.44715988862754
    1.45433249371732
    1.46158070917414
    1.46890653510976
    1.47631205334164
    1.48379943196366
    1.49137093024321
    1.49902890387327
    1.50677581061069
    1.51461421633577
    1.52254680157137
    1.53057636850434
    1.53870584855661
    1.54693831055869
    1.55527696958423
    1.56372519651115
    1.57228652838263
    1.5809646796499
    1.58976355438896
    1.59868725959458
    1.60774011966837
    1.61692669223222
    1.62625178541637
    1.63572047679064
    1.64533813413102
    1.65511043824015
    1.66504340807147
    1.67514342844331
    1.68541728067125
    1.6958721764973
    1.70651579575289
    1.71735632826212
    1.72840252057389
    1.73966372820953
    1.75114997422944
    1.76287201506288
    1.77484141471404
    1.78707062866264
    1.79957309902681
    1.81236336286033
    1.82545717583174
    1.83887165399534
    1.85262543694045
    1.86673887632534
    1.8812342547096
    1.89613604074919
    1.9114711882875
    1.92726948876869
    1.94356398885586
    1.96039148835635
    1.97779313781454
    1.99581516082526
    2.01450973381435
    2.03393606655888
    2.05416174130811
    2.07526438887675
    2.09733380936838
    2.12047468772263
    2.14481011722988
    2.17048623927379
    2.19767845464965
    2.22659989524007
    2.25751322631763
    2.29074749435689
    2.3267228670994
    2.3659881908323
    2.40928031214796
    2.45762240440889
    2.51249701319257
    2.57617489950328
    2.65240725811553
    2.74810910322958
    2.87847701476614
    3.09052913792528
]