title: mathjs DimensionError thown on load
body: <p>Trying to use the mathjs module for some matrix maths in NodeJS. The require statement seems to throw an exception</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var math = require("mathjs");</code></pre>
  </div>
  </div>
  </p>
  
  <p>Exception is:</p>
  
  <pre><code>  DimensionError
    at Object.&lt;anonymous&gt; (C:\Users\jon_000\workspace\RobotInvKin\node_modules
  \mathjs\lib\error\DimensionError.js:30:28)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.&lt;anonymous&gt; (C:\Users\jon_000\workspace\RobotInvKin\node_modules
  \mathjs\lib\utils\array.js:8:22)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.&lt;anonymous&gt; (C:\Users\jon_000\workspace\RobotInvKin\node_modules
  \mathjs\lib\utils\index.js:3:17)
  </code></pre>
  
  <p>This must be something simple. Any ideas gratefully received?</p>