Python Function Input Variable Matlab