fix name misspell and add tests for mathematical.js
add transpose function
refactor map and add apply function
fix test of maybe function