Removed Matlab Codeblock, porting to Python