First matlab + python code