MATLAB Codes for Calvin's M.Sc. [Engg] Thesis