convert matlab code to python code