ENSC327 Class Examples implemented in python vs MATLAB