Hi, I am a professional Java and Python developer, currently working under TimeTec company.
I had experience in both Matlab and Python and I can provide you the exact algorithm that you want.
Besides, I am Malaysian too, so maybe you can make your payment to me via bank instead of through Freelancer.com to avoid fees charges.
Looking forward to work with your project. Thank you.