I\'ve spent about 8 hours over two days on this to no avail. I\'m translating my MATLAB code that works into Python code that (hopefully) works as well. The OneVsAll functio