Add mathjs dependency