Modify Lemeshow to handle GPU arrays
Tweaks to test script