Added a transpose method to Matrix's prototype, included JSNumber in FractionalNumber, changed math.js to Math.js, and added FractionalNumber tests.