Moved MathsWorks code to another package