Implementation of Methods for Reduction of Complexity and Translation of Code from MATLAB to Python/Julia