I\'m currently porting a MATLAB library over to Python. As of right now, I am trying to keep the code as one-to-one as possible. I\'m noticing some differences between